You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: abort background Discord lookups on auto-map modal close
Background fetches to /api/discord-user/:userId were fire-and-forget —
cancelling the modal left them running, draining the API rate limit budget
and causing subsequent requests (bot status, user mappings) to receive
rate-limit responses with an `error` key instead of `message`, breaking
the dashboard state until restart.
- Add AbortController for background Discord resolution; abort on modal close
- Fall back to `data.error` when `data.message` is absent in error toasts
(handles rate-limiter responses from express-rate-limit)
0 commit comments