chore(format): oxfmt

This commit is contained in:
Peter Steinberger
2026-01-18 07:14:34 +00:00
parent df752d4706
commit f5c84768ff
3 changed files with 8 additions and 5 deletions

View File

@@ -71,7 +71,8 @@ export function resolveSession(opts: {
const resetType = resolveSessionResetType({ sessionKey });
const resetPolicy = resolveSessionResetPolicy({ sessionCfg, resetType });
const fresh = sessionEntry
? evaluateSessionFreshness({ updatedAt: sessionEntry.updatedAt, now, policy: resetPolicy }).fresh
? evaluateSessionFreshness({ updatedAt: sessionEntry.updatedAt, now, policy: resetPolicy })
.fresh
: false;
const sessionId =
opts.sessionId?.trim() || (fresh ? sessionEntry?.sessionId : undefined) || crypto.randomUUID();