mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Update with-sveltekit.mdx (#22635)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
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 }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user