merge userdb.js into users.js

This commit is contained in:
Girish Ramakrishnan
2021-07-15 09:50:11 -07:00
parent 2840bba4bf
commit a1c61facdc
27 changed files with 1021 additions and 1456 deletions

View File

@@ -215,7 +215,7 @@ function backupFailed(mailTo, errorMessage, logUrl, callback) {
assert.strictEqual(typeof mailTo, 'string');
assert.strictEqual(typeof errorMessage, 'string');
assert.strictEqual(typeof logUrl, 'string');
assert.strictEqual(typeof callback, 'function');
assert(typeof callback === 'undefined' || typeof callback ==='function');
getMailConfig(function (error, mailConfig) {
if (error) return debug('Error getting mail details:', error);
@@ -235,7 +235,7 @@ function certificateRenewalError(mailTo, domain, message, callback) {
assert.strictEqual(typeof mailTo, 'string');
assert.strictEqual(typeof domain, 'string');
assert.strictEqual(typeof message, 'string');
assert.strictEqual(typeof callback, 'function');
assert(typeof callback === 'undefined' || typeof callback ==='function');
getMailConfig(function (error, mailConfig) {
if (error) return debug('Error getting mail details:', error);