We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cf89a4 commit ed06d60Copy full SHA for ed06d60
apps/examples/sveltekit/src/routes/+layout.server.ts
@@ -2,6 +2,6 @@ import type { LayoutServerLoad } from "./$types"
2
3
export const load: LayoutServerLoad = async (event) => {
4
return {
5
- session: await event.locals.getSession(),
+ session: await event.locals.auth(),
6
}
7
0 commit comments