Merge pull request #13766 from cesarnml/patch-1

fix: Await getSession in src/+layout.server.ts
This commit is contained in:
Greg Richardson authored and GitHub committed 2023-04-17 10:21:03 -06:00
commit 5edaa3ca22
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()
};
};
```