eventlog: typo when mail list is removed

This commit is contained in:
Girish Ramakrishnan
2019-12-11 10:05:45 -08:00
parent 4e3192d450
commit ae5722a7d4

View File

@@ -1264,7 +1264,7 @@ function removeList(name, domain, auditSource, callback) {
mailboxdb.del(name, domain, function (error) {
if (error) return callback(error);
eventlog.add(eventlog.ACTION_MAIL_LIST_ADD, auditSource, { name, domain });
eventlog.add(eventlog.ACTION_MAIL_LIST_REMOVE, auditSource, { name, domain });
callback();
});