transfer ownership is not used anymore

This commit is contained in:
Girish Ramakrishnan
2022-05-26 14:32:45 -07:00
parent 74aac4876a
commit 416bfa67a1
3 changed files with 0 additions and 67 deletions

View File

@@ -1883,15 +1883,6 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.changeOwnership = function (userId, callback) {
post('/api/v1/users/' + userId + '/make_owner', {}, null, function (error, data, status) {
if (error) return callback(error);
if (status !== 204) return callback(new ClientError(status, data));
callback(null);
});
};
Client.prototype.removeUser = function (userId, callback) {
var config = {
data: {},