mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Merge pull request #13766 from cesarnml/patch-1
fix: Await getSession in src/+layout.server.ts
This commit is contained in:
1 file changed
+1
-1
@@ -130,7 +130,7 @@ import type { LayoutServerLoad } from './$types';
|
||||
|
||||
export const load: LayoutServerLoad = async ({ locals: { getSession } }) => {
|
||||
return {
|
||||
session: getSession()
|
||||
session: await getSession()
|
||||
};
|
||||
};
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user