All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
11 lines
255 B
TypeScript
11 lines
255 B
TypeScript
import { type ServerLoadEvent } from '@sveltejs/kit';
|
|
import type { PageServerLoad } from '../anmeldung/$types';
|
|
|
|
export const load: PageServerLoad = (event: ServerLoadEvent) => {
|
|
if (event.locals.user) {
|
|
return {
|
|
user: event.locals.user
|
|
};
|
|
}
|
|
};
|