From e496bd6f553ce9b61bab628570229dbf41f7b7c8 Mon Sep 17 00:00:00 2001 From: Thai Pangsakulyanont Date: Fri, 20 Dec 2024 02:33:33 +0700 Subject: [PATCH] fix 500 --- .../src/pages/api/contentsgarten/[action].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki.creatorsgarten.org/src/pages/api/contentsgarten/[action].ts b/wiki.creatorsgarten.org/src/pages/api/contentsgarten/[action].ts index edef47d9..fbebbbf2 100644 --- a/wiki.creatorsgarten.org/src/pages/api/contentsgarten/[action].ts +++ b/wiki.creatorsgarten.org/src/pages/api/contentsgarten/[action].ts @@ -76,7 +76,7 @@ export function getInstance() { return contentsgarten } -export const all: APIRoute = async ({ params, request }) => { +export const ALL: APIRoute = async ({ params, request }) => { if (config.testing.BACKEND === 'production') { const requestUrl = new URL(request.url) const backendUrl = new URL(