mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-04 14:52:06 +00:00
The invite page showed "invalid or has expired, ask your admin for a new invite" for any failed resolve call, including offline, timeouts and 5xx. A member on a flaky connection was sent to their admin for a resend, which revokes a token that was still valid. Only the server's invalid_invite answer now ends on "Invite unavailable". Any other failure shows "Couldn't load your invite" with a Try again button that re-runs resolve, without a global error toast. Regression tests cover a network rejection and a 500 followed by a successful retry. |
||
|---|---|---|
| .. | ||
| api | ||
| schemas | ||
| types | ||
| use-cases | ||