Skip to content

Commit

Permalink
fix: customBackOff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikram Kalta authored and Vikram Kalta committed Dec 12, 2024
1 parent b5aeab3 commit 2411594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/concurrency-queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++

Expand Down

0 comments on commit 2411594

Please sign in to comment.