summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-common/client/app/services
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE-common/client/app/services')
-rw-r--r--ecomp-portal-FE-common/client/app/services/users/users.service.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecomp-portal-FE-common/client/app/services/users/users.service.js b/ecomp-portal-FE-common/client/app/services/users/users.service.js
index 045c674b..ed95bddf 100644
--- a/ecomp-portal-FE-common/client/app/services/users/users.service.js
+++ b/ecomp-portal-FE-common/client/app/services/users/users.service.js
@@ -201,7 +201,7 @@
// this.$log.debug('getUserAppRoles response: ', JSON.stringify(res))
// If response comes back as a redirected HTML page which IS NOT a success
if (this.utilsService.isValidJSON(res)== false || res.data.httpStatusCode == '500' || res.data.status == 'ERROR') {
- deferred.reject('UsersService::updateUserAppRoles: Failed' + res.data.message);
+ deferred.reject(' Error:' + res.data.message);
} else {
// this.$log.info('UsersService::updateUserAppRoles: Succeeded');
deferred.resolve(res.data);
@@ -283,4 +283,4 @@
}
UsersService.$inject = ['$q', '$log', '$http', 'conf','uuid4', 'utilsService'];
angular.module('ecompApp').service('usersService', UsersService)
-})();
+})(); \ No newline at end of file