stats reorg, upcoming refinement

This commit is contained in:
yohlo
2025-09-14 23:10:05 -05:00
parent 8efc0a7a4b
commit 9a105b30c6
18 changed files with 703 additions and 373 deletions

View File

@@ -24,7 +24,6 @@ export const verifySuperTokensSession = async (
logger.info("Session needs refresh");
try {
// attempt refresh on backend
if (response) {
const refreshedSession = await refreshSession(request, response);
if (refreshedSession) {
@@ -33,7 +32,6 @@ export const verifySuperTokensSession = async (
}
if (session?.needsRefresh) {
// tryRefresh on frontend
return { context: { session: { tryRefresh: true } } };
}
} catch (error: any) {