mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-11-10 17:47:07 +08:00
Merge branch 'master' of github.com:nodemailer/wildduck
This commit is contained in:
commit
9004dd2c7e
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue