fixes build error + auth misredirecting

This commit is contained in:
Dreamgineer
2025-09-25 23:34:41 -04:00 Unverified
parent 6a8d536cf8
commit 39e7b435a7
4 changed files with 33 additions and 90 deletions
+1 -1
View File
@@ -21,5 +21,5 @@ export async function apiAuthCheck() {
headers: await headers(),
});
return session.user;
return session?.user;
}