Add responseInterceptor as well

This commit is contained in:
Kyle Shockey
2017-11-29 15:55:15 -06:00
parent ade47ca40e
commit 2325118540

View File

@@ -159,7 +159,8 @@ export const authorizeRequest = ( data ) => ( { fn, getConfigs, authActions, err
headers: _headers,
query: query,
body: body,
requestInterceptor: getConfigs().requestInterceptor
requestInterceptor: getConfigs().requestInterceptor,
responseInterceptor: getConfigs().responseInterceptor
})
.then(function (response) {
let token = JSON.parse(response.data)