Add responseInterceptor as well
This commit is contained in:
@@ -159,7 +159,8 @@ export const authorizeRequest = ( data ) => ( { fn, getConfigs, authActions, err
|
|||||||
headers: _headers,
|
headers: _headers,
|
||||||
query: query,
|
query: query,
|
||||||
body: body,
|
body: body,
|
||||||
requestInterceptor: getConfigs().requestInterceptor
|
requestInterceptor: getConfigs().requestInterceptor,
|
||||||
|
responseInterceptor: getConfigs().responseInterceptor
|
||||||
})
|
})
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
let token = JSON.parse(response.data)
|
let token = JSON.parse(response.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user