fix(frontend): preserve refresh token during token rotation to prevent background session expiration
All checks were successful
Automated Container Build / build-and-push (push) Successful in 44s

This commit is contained in:
Elijah 2026-05-23 18:42:12 -07:00
parent 88260ee78e
commit 322685e3a3

View file

@ -106,7 +106,7 @@ class ApiClient {
if (response.ok) { if (response.ok) {
const data = await response.json(); const data = await response.json();
this.setTokens(data.access_token, data.refresh_token); this.setTokens(data.access_token, data.refresh_token || this.refreshToken!);
return true; return true;
} }