Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghao1993 committed Sep 9, 2024
1 parent 0bec0a1 commit 0a63e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/blog/detail/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function POST(req: Request, res: Response) {
if (post && session?.user) {
const user = await prisma.user.findUnique({
where: {
email: session.user.email,
email: session.user.email as string,
},
});
const likes_count = post.likes_count;
Expand Down

0 comments on commit 0a63e3c

Please sign in to comment.