X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fframework%2Fcore%2Fmodules%2Fapi%2FuserManagementAPI.js;fp=skyquake%2Fframework%2Fcore%2Fmodules%2Fapi%2FuserManagementAPI.js;h=0608c5db614ced4639c1f97ffc82c97a90b47f01;hb=5fe8f677ae26b665ef8239086e520da56f675939;hp=19bb85447b5e1f60744209d826a1269adebbdc5e;hpb=abf00ef39ee93f2a7ff05a4432eb3a50a88a487e;p=osm%2FUI.git diff --git a/skyquake/framework/core/modules/api/userManagementAPI.js b/skyquake/framework/core/modules/api/userManagementAPI.js index 19bb85447..0608c5db6 100644 --- a/skyquake/framework/core/modules/api/userManagementAPI.js +++ b/skyquake/framework/core/modules/api/userManagementAPI.js @@ -72,9 +72,6 @@ UserManagement.getProfile = function(req) { userId: req.session.userdata.username, projectId: req.session.projectId }; - // if (result[0].body) { - // response['data']['users'] = JSON.parse(result[0].body)['rw-user:users']; - // } response.statusCode = constants.HTTP_RESPONSE_CODES.SUCCESS.OK resolve(response);