Remove ownerId use

This commit is contained in:
Girish Ramakrishnan
2019-07-02 20:22:06 -07:00
parent ae07c7934e
commit 88fdd1f562
2 changed files with 6 additions and 24 deletions

View File

@@ -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: {},