mirror of
https://github.com/tenrok/axios.git
synced 2026-06-08 17:22:34 +03:00
Correctly add response interceptors to interceptor chain (#4013)
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ Axios.prototype.request = function request(config) {
|
||||
var chain = [dispatchRequest, undefined];
|
||||
|
||||
Array.prototype.unshift.apply(chain, requestInterceptorChain);
|
||||
chain.concat(responseInterceptorChain);
|
||||
chain = chain.concat(responseInterceptorChain);
|
||||
|
||||
promise = Promise.resolve(config);
|
||||
while (chain.length) {
|
||||
|
||||
Reference in New Issue
Block a user