Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
infomiho committed Nov 26, 2024
1 parent 4732a27 commit fcdc0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waspc/headless-test/examples/todoApp/src/auth/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const onBeforeLogin: OnBeforeLoginHook = async ({ providerId }) => {

export const onAfterLogin: OnAfterLoginHook = async ({ prisma, user }) => {
await prisma.user.update({
where: { id: user!.id },
where: { id: user.id },
data: {
isOnAfterLoginHookCalled: true,
},
Expand Down

0 comments on commit fcdc0d6

Please sign in to comment.