diff options
Diffstat (limited to 'src/app/contextHandler')
-rw-r--r-- | src/app/contextHandler/ContextHandlerActions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app/contextHandler/ContextHandlerActions.js b/src/app/contextHandler/ContextHandlerActions.js index b4805e1..f3ede6d 100644 --- a/src/app/contextHandler/ContextHandlerActions.js +++ b/src/app/contextHandler/ContextHandlerActions.js @@ -105,7 +105,8 @@ function fetchSubscriptionPayload(fetchRequestCallback) { export function getSubscriptionPayload() { let externalfetchRequest = - () => networkCall.getRequest(SUBSCRIPTION_PAYLOAD_URL, GET); + () => networkCall.getRequest(SUBSCRIPTION_PAYLOAD_URL, GET); + return dispatch => { dispatch(fetchSubscriptionPayload(externalfetchRequest)); }; |