Fix mail location route
This commit is contained in:
@@ -952,7 +952,7 @@ function setLocation(subdomain, domain, auditSource, callback) {
|
||||
settings.setMailLocation(domain, fqdn, function (error) {
|
||||
if (error) return callback(error);
|
||||
|
||||
tasks.add(tasks.TASK_CHANGE_MAIL_FQDN, [ auditSource ], function (error, taskId) {
|
||||
tasks.add(tasks.TASK_CHANGE_MAIL_LOCATION, [ auditSource ], function (error, taskId) {
|
||||
if (error) return callback(error);
|
||||
|
||||
tasks.startTask(taskId, {}, NOOP_CALLBACK);
|
||||
|
||||
Reference in New Issue
Block a user