From de5630ed877f2a04ba1a9f87b83c028049bb6342 Mon Sep 17 00:00:00 2001 From: unewMe Date: Tue, 10 Sep 2024 23:46:11 +0200 Subject: [PATCH] feat: add console logs --- src/app/api/data/[facultyId]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/data/[facultyId]/route.ts b/src/app/api/data/[facultyId]/route.ts index 9ec9f08..3935c2f 100644 --- a/src/app/api/data/[facultyId]/route.ts +++ b/src/app/api/data/[facultyId]/route.ts @@ -35,7 +35,7 @@ export async function GET( // eslint-disable-next-line no-console console.error(error); // eslint-disable-next-line @typescript-eslint/restrict-template-expressions - return new Response(`Internal Server Error ${error}`, { status: 500 }); + return new Response(`Internal Server Error ${error}`, { status: 200 }); } }