From 26fa7ae1b2bd2dedec03c3f7a67531f92b7dca12 Mon Sep 17 00:00:00 2001 From: Jayasanka Date: Thu, 16 May 2019 14:24:06 +0530 Subject: [PATCH] Change invoker call of lifecycle in publisher ui --- .../react-app/src/js/actions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/js/actions/index.js b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/js/actions/index.js index 81ad5273515..d3274757216 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/js/actions/index.js +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/react-app/src/js/actions/index.js @@ -94,7 +94,7 @@ export const updateLifecycleState = (uuid, nextState, reason) => dispatch => { reason: reason }; - const request = "method=get&content-type=application/json&payload=" + JSON.stringify(payload) + "&api-endpoint=/applications/life-cycle/" + uuid; + const request = "method=post&content-type=application/json&payload=" + JSON.stringify(payload) + "&api-endpoint=/application-mgt-publisher/v1.0/applications/life-cycle/" + uuid; console.log(request);