From 8cb26b3264bce82705c6e3f6ac0cbb9efa6e5bc0 Mon Sep 17 00:00:00 2001 From: dilanua Date: Mon, 15 Aug 2016 17:55:46 +0530 Subject: [PATCH] Fixing no api resource found issue: changing user credentials --- .../units/cdmf.unit.ui.header.user-menu/public/js/user-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.user-menu/public/js/user-menu.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.user-menu/public/js/user-menu.js index 9547a1e50d9..16a232b843a 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.user-menu/public/js/user-menu.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.ui.header.user-menu/public/js/user-menu.js @@ -50,7 +50,7 @@ $(document).ready(function () { changePasswordFormData.oldPassword = unescape((oldPassword)); - var changePasswordAPI = "/api/device-mgt/v1.0/users" + user + "/credentials"; + var changePasswordAPI = "/api/device-mgt/v1.0/users/" + user + "/credentials"; invokerUtil.put( changePasswordAPI,