diff --git a/src/routes/cospend/+layout.server.ts b/src/routes/cospend/+layout.server.ts new file mode 100644 index 0000000..ed6565d --- /dev/null +++ b/src/routes/cospend/+layout.server.ts @@ -0,0 +1,7 @@ +import type { LayoutServerLoad } from "./$types" + +export const load : LayoutServerLoad = async ({locals}) => { + return { + session: await locals.auth() + } +};