Skip to content

Commit

Permalink
♻️ fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
yutakobayashidev committed Jul 15, 2023
1 parent 465d2b1 commit d9e8f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function POST(req: Request) {
const cached = await await redis.get(key);

if (cached) {
return new Response(cached as string);
return new Response(cached as any);
}

const response = await openai.createChatCompletion({
Expand Down

1 comment on commit d9e8f2b

@vercel
Copy link

@vercel vercel bot commented on d9e8f2b Jul 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.