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