mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2026-11-10 20:50:50 +08:00
fix(onedrive): refresh token on drive quota query and retry only once getDrive (used for storage capacity) was the only request that opted out of the InvalidAuthenticationToken refresh, so an expired token made the capacity query fail until another request happened to refresh it. Let it refresh like every other request. The retry after a refresh did not pass noRetry, so a token that stayed invalid after a successful refresh recursed without bound. Retry once. Claude-Session: https://claude.ai/code/session_01U5btuswaVrY7Lp7FWWVEHh Co-authored-by: Vurliy <ulermi@outlook.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>