Skip to content

Commit 9f3aa94

Browse files
zceiKhaledgarbaya
andauthored
chore(README): fix typo
Co-Authored-By: Khaledgarbaya <khaledgarbaya@gmail.com>
1 parent 9262908 commit 9f3aa94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ const instance = axios.create({customConfig: {retryOnError: true}})
480480
}, function (error) {
481481
let { response, config } = error
482482
// Do not retry if it is disabled or no request config exists (not an axios error)
483-
if (!config || !instance.defaults.retryOnError) {
483+
if (!config || !instance.customConfig.retryOnError) {
484484
return Promise.reject(error)
485485
}
486486

0 commit comments

Comments
 (0)