Skip to content

Commit 2325118

Browse files
committed
Add responseInterceptor as well
1 parent ade47ca commit 2325118

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/plugins/auth/actions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ export const authorizeRequest = ( data ) => ( { fn, getConfigs, authActions, err
159159
headers: _headers,
160160
query: query,
161161
body: body,
162-
requestInterceptor: getConfigs().requestInterceptor
162+
requestInterceptor: getConfigs().requestInterceptor,
163+
responseInterceptor: getConfigs().responseInterceptor
163164
})
164165
.then(function (response) {
165166
let token = JSON.parse(response.data)

0 commit comments

Comments
 (0)