refresh test

This commit is contained in:
yohlo
2025-09-13 00:50:41 -05:00
parent a926dcde07
commit 7d3c0a3fa4
6 changed files with 102 additions and 23 deletions

View File

@@ -23,8 +23,7 @@ export const fetchMe = createServerFn()
metadata: context.metadata
};
} catch (error: any) {
// If getSessionContext throws (unauthenticated or redirect), return empty state
logger.info('fetchMe: No authenticated user or redirect needed');
logger.info('fetchMe: Session error', error.message);
return { user: undefined, roles: [], metadata: {} };
}
})