debug: add print

This commit is contained in:
Max Koon
2025-10-20 16:44:39 -04:00
parent d8e5e8e522
commit 213c819cfd

View File

@@ -3,6 +3,7 @@ import type { AuthData } from "./auth";
export function isLoggedIn( export function isLoggedIn(
authData: AuthData | null, authData: AuthData | null,
): asserts authData is AuthData { ): asserts authData is AuthData {
console.log("AUTHDATA", authData);
if (!authData?.user.id) { if (!authData?.user.id) {
throw new Error("User is not logged in"); throw new Error("User is not logged in");
} }