Skip to content

Commit

Permalink
json
Browse files Browse the repository at this point in the history
  • Loading branch information
vjnvisakh-jtc committed Mar 18, 2024
1 parent 2813280 commit be10601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify/functions/quote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const quote = async (req: Request, context: Context) => {
data = await getQuoteFromGemini();
}

return new Response(data);
return Response.json({ data });
}

export default quote;

0 comments on commit be10601

Please sign in to comment.