Skip to content

Commit 2583e10

Browse files
Merge pull request #237 from contentstack/development
Development to release 2.0
2 parents 46c62bf + 8809bc1 commit 2583e10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/concurrency-queue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export function ConcurrencyQueue ({ axios, config }) {
205205
} else {
206206
return Promise.reject(responseHandler(error))
207207
}
208-
} else if (response.status === 429 || (response.status === 401 && this.config.refreshToken)) {
208+
} else if ((response.status === 401 && this.config.refreshToken)) {
209209
retryErrorType = `Error with status: ${response.status}`
210210
networkError++
211211

0 commit comments

Comments
 (0)