typo
This commit is contained in:
@@ -75,7 +75,7 @@ const assert = require('assert'),
|
||||
nodemailer = require('nodemailer'),
|
||||
notifications = require('./notifications.js'),
|
||||
path = require('path'),
|
||||
platform = require('./platforms.js'),
|
||||
platform = require('./platform.js'),
|
||||
safe = require('safetydance'),
|
||||
services = require('./services.js'),
|
||||
shell = require('./shell.js')('mail'),
|
||||
@@ -860,7 +860,7 @@ async function setMailEnabled(domain, enabled, auditSource) {
|
||||
await updateDomain(domain, { enabled });
|
||||
|
||||
await mailServer.restart();
|
||||
await platform.onMailServerIncomingDomainsChanged();
|
||||
await platform.onMailServerIncomingDomainsChanged(auditSource);
|
||||
|
||||
await eventlog.add(enabled ? eventlog.ACTION_MAIL_ENABLED : eventlog.ACTION_MAIL_DISABLED, auditSource, { domain });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user