mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 22:51:22 +00:00
GUAC-932: Change user service path to /api/users.
This commit is contained in:
@@ -50,7 +50,7 @@ angular.module('rest').factory('permissionService', ['$http', 'authenticationSer
|
||||
// Retrieve user permissions
|
||||
return $http({
|
||||
method : 'GET',
|
||||
url : 'api/user/' + encodeURIComponent(userID) + '/permissions',
|
||||
url : 'api/users/' + encodeURIComponent(userID) + '/permissions',
|
||||
params : httpParameters
|
||||
});
|
||||
|
||||
@@ -198,7 +198,7 @@ angular.module('rest').factory('permissionService', ['$http', 'authenticationSer
|
||||
// Patch user permissions
|
||||
return $http({
|
||||
method : 'PATCH',
|
||||
url : 'api/user/' + encodeURIComponent(userID) + '/permissions',
|
||||
url : 'api/users/' + encodeURIComponent(userID) + '/permissions',
|
||||
params : httpParameters,
|
||||
data : permissionPatch
|
||||
});
|
||||
|
Reference in New Issue
Block a user