From 23251185407ac0fa48eb44effada1fc0873a2ca1 Mon Sep 17 00:00:00 2001 From: Kyle Shockey Date: Wed, 29 Nov 2017 15:55:15 -0600 Subject: [PATCH] Add responseInterceptor as well --- src/core/plugins/auth/actions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/plugins/auth/actions.js b/src/core/plugins/auth/actions.js index 876a677d..d264c65d 100644 --- a/src/core/plugins/auth/actions.js +++ b/src/core/plugins/auth/actions.js @@ -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)