From 8f39671c6b16da3b57b5d5d54b1fa8093490d60d Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Mon, 31 Aug 2015 12:32:36 -0700 Subject: [PATCH] GUAC-586: Fix typos surrounding getAllUsers() in userService. --- guacamole/src/main/webapp/app/rest/services/userService.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/guacamole/src/main/webapp/app/rest/services/userService.js b/guacamole/src/main/webapp/app/rest/services/userService.js index 87dc9f915..268e00e69 100644 --- a/guacamole/src/main/webapp/app/rest/services/userService.js +++ b/guacamole/src/main/webapp/app/rest/services/userService.js @@ -80,10 +80,9 @@ angular.module('rest').factory('userService', ['$injector', /** * Returns a promise which resolves with all users accessible by the - * given user, as a map of @link{User} arrays by the identifier of their + * current user, as a map of @link{User} arrays by the identifier of their * corresponding data source. All given data sources are queried. If an - * error occurs while retrieving any PermissionSet, the promise will be - * rejected. + * error occurs while retrieving any user, the promise will be rejected. * * @param {String[]} dataSources * The unique identifier of the data sources containing the user to be @@ -128,7 +127,7 @@ angular.module('rest').factory('userService', ['$injector', }, // At least one request failed - function UserRetrievalFailed(e) { + function userRetrievalFailed(e) { deferred.reject(e); }