mailbox: add checkbox for pop3
This commit is contained in:
@@ -2570,13 +2570,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
|
||||
});
|
||||
};
|
||||
|
||||
Client.prototype.updateMailbox = function (domain, name, ownerId, ownerType, active, callback) {
|
||||
var data = {
|
||||
ownerId: ownerId,
|
||||
ownerType: ownerType,
|
||||
active: active
|
||||
};
|
||||
|
||||
Client.prototype.updateMailbox = function (domain, name, data, callback) {
|
||||
post('/api/v1/mail/' + domain + '/mailboxes/' + name, data, null, function (error, data, status) {
|
||||
if (error) return callback(error);
|
||||
if (status !== 204) return callback(new ClientError(status, data));
|
||||
|
||||
Reference in New Issue
Block a user