refactor(settings): document benutzer non-null assertion in page.server.ts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 17:23:31 +02:00
parent d66120b191
commit 5904102b1a

View File

@@ -15,6 +15,7 @@ export const load: PageServerLoad = async ({ fetch, locals }) => {
return { return {
stapleCount, stapleCount,
memberCount, memberCount,
// hooks.server.ts guarantees benutzer is set for all (app) routes
userName: locals.benutzer!.name userName: locals.benutzer!.name
}; };
}; };