diff --git a/apps/frackend/src/sessionCache.ts b/apps/frackend/src/sessionCache.ts index 92f0fcb71..a8d3cfc15 100644 --- a/apps/frackend/src/sessionCache.ts +++ b/apps/frackend/src/sessionCache.ts @@ -28,11 +28,8 @@ export function setOboTokenForRequest( return; } - const cachedValue = sessionCache.get(hashedAuthHeader); - - if (!cachedValue) { - return; - } + const cachedValue = + sessionCache.get(hashedAuthHeader) ?? {}; cachedValue[scope] = oboToken;