X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fsparky-fe.git;a=blobdiff_plain;f=src%2Fapp%2FcontextHandler%2FContextHandlerActions.js;h=f3ede6db2068975f533a2f917adcb59475d4b26e;hp=b4805e19ed905c54e1dca8e289cc0dc3d8f92ef3;hb=refs%2Fchanges%2F31%2F68431%2F1;hpb=21ab8d88d55d264eff83d628ba924e95cff52fc4 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)); };