From fcdc0d64b41611c5f106b1fbf7763d078c8000b8 Mon Sep 17 00:00:00 2001 From: Mihovil Ilakovac Date: Tue, 26 Nov 2024 16:39:39 +0100 Subject: [PATCH] Cleanup --- waspc/headless-test/examples/todoApp/src/auth/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waspc/headless-test/examples/todoApp/src/auth/hooks.ts b/waspc/headless-test/examples/todoApp/src/auth/hooks.ts index 256574807c..736195cab9 100644 --- a/waspc/headless-test/examples/todoApp/src/auth/hooks.ts +++ b/waspc/headless-test/examples/todoApp/src/auth/hooks.ts @@ -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, },