Merge branch 'master' of github.com:nodemailer/wildduck

This commit is contained in:
Andris Reinman 2021-01-04 11:40:49 +02:00
commit 9004dd2c7e
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@
"@phc/pbkdf2": "1.1.14",
"accesscontrol": "2.2.1",
"argon2-browser": "1.15.2",
"axios": "0.21.0",
"axios": "0.21.1",
"base32.js": "0.1.0",
"bcryptjs": "2.4.3",
"bull": "3.20.0",

View file

@ -72,7 +72,7 @@ async function postWebhook(webhook, data) {
}
module.exports.start = callback => {
if (!config.webhooks.enabled) {
if (!(config.webhooks && config.webhooks.enabled)) {
return setImmediate(() => callback(null, false));
}