X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Fuser_management%2Fsrc%2FplatformRoleManagement%2FplatformRoleManagementSource.js;h=2e1f3c0e84800951b4cd4220e9ef15ec212dfb50;hb=2279bd2b93eb7cf73526ee3cc1ae299f4bcfe48e;hp=ad6e818eec54f0dae621a4ef3afc7507e1fcd13e;hpb=3d39b18290b9cb3e10c1a80d91ac4819e7c58474;p=osm%2FUI.git diff --git a/skyquake/plugins/user_management/src/platformRoleManagement/platformRoleManagementSource.js b/skyquake/plugins/user_management/src/platformRoleManagement/platformRoleManagementSource.js index ad6e818ee..2e1f3c0e8 100644 --- a/skyquake/plugins/user_management/src/platformRoleManagement/platformRoleManagementSource.js +++ b/skyquake/plugins/user_management/src/platformRoleManagement/platformRoleManagementSource.js @@ -25,7 +25,7 @@ module.exports = function(Alt) { type: 'GET', beforeSend: Utils.addAuthorizationStub, success: function(data, textStatus, jqXHR) { - resolve(data.users); + resolve(data.user); } }).fail(function(xhr){ //Authentication and the handling of fail states should be wrapped up into a connection class.