Fix mail location route

This commit is contained in:
Girish Ramakrishnan
2020-08-20 23:05:52 -07:00
parent 2299af1dba
commit d36b06acf7
4 changed files with 10 additions and 9 deletions

View File

@@ -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);