diff --git a/lib/core/concurrency-queue.js b/lib/core/concurrency-queue.js index 54acb14f..e27c5fd1 100644 --- a/lib/core/concurrency-queue.js +++ b/lib/core/concurrency-queue.js @@ -205,7 +205,7 @@ export function ConcurrencyQueue ({ axios, config }) { } else { return Promise.reject(responseHandler(error)) } - } else if (response.status === 429 || (response.status === 401 && this.config.refreshToken)) { + } else if ((response.status === 401 && this.config.refreshToken)) { retryErrorType = `Error with status: ${response.status}` networkError++