From 6f3bedeac594dbc65bb1260dcaea23e0fb3ccb53 Mon Sep 17 00:00:00 2001 From: Tyler Arbon Date: Thu, 11 Apr 2024 21:04:11 -0600 Subject: [PATCH] Update with-sveltekit.mdx (#22635) Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> --- .../content/guides/getting-started/tutorials/with-sveltekit.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/getting-started/tutorials/with-sveltekit.mdx b/apps/docs/content/guides/getting-started/tutorials/with-sveltekit.mdx index 21b134ede11..567778326da 100644 --- a/apps/docs/content/guides/getting-started/tutorials/with-sveltekit.mdx +++ b/apps/docs/content/guides/getting-started/tutorials/with-sveltekit.mdx @@ -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 } }