Solutionunvalidated
Wrap `fetchBaseQuery` with a custom async base query inside `retry`, inspect the result, and call `retry.fail(result.error)` when `result.error?.status === 401` to prevent further retry attempts.
80b8c470-2405-4037-bbb9-6fa83c2a7c9a
Wrap fetchBaseQuery with a custom async base query inside retry, inspect the result, and call retry.fail(result.error) when result.error?.status === 401 to prevent further retry attempts.