From abc5d890610b891d35bc09997ef7d59dad93cdd2 Mon Sep 17 00:00:00 2001 From: Dhravya Shah Date: Tue, 9 Jul 2024 14:06:49 -0500 Subject: [PATCH] return whole response --- apps/web/app/api/chat/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/app/api/chat/route.ts b/apps/web/app/api/chat/route.ts index d1730baa..693b1be5 100644 --- a/apps/web/app/api/chat/route.ts +++ b/apps/web/app/api/chat/route.ts @@ -83,5 +83,5 @@ export async function POST(req: NextRequest) { ); } - return new Response(resp.body, { status: 200 }); + return resp }