group: cannot set name of ldap group
This commit is contained in:
@@ -1763,12 +1763,12 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.updateGroup = function (id, name, callback) {
|
||||
Client.prototype.setGroupName = function (id, name, callback) {
|
||||
var data = {
|
||||
name: name
|
||||
};
|
||||
|
||||
post('/api/v1/groups/' + id, data, null, function (error, data, status) {
|
||||
put('/api/v1/groups/' + id + '/name', data, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user