Remove ownerId use
This commit is contained in:
@@ -1276,19 +1276,6 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.transferOwnership = function (oldOwnerId, newOwnerId, callback) {
|
||||
var data = {
|
||||
ownerId: newOwnerId
|
||||
};
|
||||
|
||||
post('/api/v1/users/' + oldOwnerId + '/transfer', data, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
callback(null);
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.removeUser = function (userId, callback) {
|
||||
var config = {
|
||||
data: {},
|
||||
|
||||
Reference in New Issue
Block a user