Skip to content

Commit

Permalink
Fix sample code in auth template (#558)
Browse files Browse the repository at this point in the history
Co-authored-by: Rob Cameron <[email protected]>
  • Loading branch information
cannikin and cannikin authored May 18, 2020
1 parent 1b26562 commit 2facf3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// to return a real user from your database, you could do something like:
//
// export const currentuser = async ({ email }) => {
// return await db.user.findOne({ where: email })
// return await db.user.findOne({ where: { email } })
// }

export const getCurrentUser = async (jwt) => {
Expand Down

0 comments on commit 2facf3f

Please sign in to comment.