fix: some type errors

This commit is contained in:
Max Richter
2025-10-04 13:39:06 +02:00
parent 5ad7face12
commit d5a06678d0
3 changed files with 31 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
export async function listResource(id: string): Promise<any[]> {
export async function listResource(id: string): Promise<any[] | any> {
try {
const response = await fetch(
`https://marka.max-richter.dev/${id}`,