Files
OpenList/drivers
d09af74a75 fix(drivers/onedrive): refresh token on drive quota query and retry only once (#3335)
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>
2026-11-06 12:42:33 +08:00
..
2026-07-28 13:18:34 +08:00