Skip to content

Commit

Permalink
refactor: updated
Browse files Browse the repository at this point in the history
  • Loading branch information
thezeeshann committed Sep 10, 2024
1 parent 1d3da55 commit 65ddd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const currentUser = async () => {
}
const user = await db.user.findUnique({
where: {
email: session.user.email,
email: session.user.email!,
},
});

Expand Down

0 comments on commit 65ddd83

Please sign in to comment.