From 8b49c8ed1801dc72ee66edc7a7d0276d07569d17 Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Fri, 19 Jul 2024 16:38:37 +0200 Subject: [PATCH] revert: an api change --- src/app/getBots/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/getBots/route.ts b/src/app/getBots/route.ts index 5b61b3b..cd66227 100644 --- a/src/app/getBots/route.ts +++ b/src/app/getBots/route.ts @@ -24,7 +24,7 @@ export async function GET(req: Request) { verified: true } }) - return new Response(JSON.stringify({ success: true, ...dbFetch }), { + return new Response(JSON.stringify(dbFetch), { headers: { 'content-type': 'application/json' }