Update with-sveltekit.mdx (#22635)

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
Tyler ArbonandCharis authored and GitHub committed 2024-04-12 03:04:11 +00:00
1 parent 66a51bf817
commit 6f3bedeac5
1 file changed
+1 -1
@@ -93,7 +93,7 @@ export const handle: Handle = async ({ event, resolve }) => {
const {
data: { user },
error,
} = await supabase.auth.getUser()
} = await event.locals.supabase.auth.getUser()
if (error) {
return { session: null, user: null }
}