Skip to content

Commit ed06d60

Browse files
k-taro56ThangHuuVu
andauthored
chore(examples): replace deprecated getSession with auth (#11309)
chore: replace deprecated getSession with auth Co-authored-by: Thang Vu <[email protected]>
1 parent 7cf89a4 commit ed06d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/examples/sveltekit/src/routes/+layout.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import type { LayoutServerLoad } from "./$types"
22

33
export const load: LayoutServerLoad = async (event) => {
44
return {
5-
session: await event.locals.getSession(),
5+
session: await event.locals.auth(),
66
}
77
}

0 commit comments

Comments
 (0)