mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-02-25 00:13:33 +08:00
fixed a but with invalid property check
This commit is contained in:
parent
5e5a3d7eb0
commit
ca3a365d96
2 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,7 @@ module.exports.getContextForServername = async (servername, serverOptions) => {
|
|||
});
|
||||
}
|
||||
|
||||
return certHandler.getContextForServername(servername, serverOptions);
|
||||
return await certHandler.getContextForServername(servername, serverOptions);
|
||||
};
|
||||
|
||||
config.on('reload', () => {
|
||||
|
|
|
@ -208,7 +208,7 @@ class TaskHandler {
|
|||
}
|
||||
);
|
||||
|
||||
if (r && r.deletedCount) {
|
||||
if (r && r.modifiedCount) {
|
||||
log.info('Tasks', 'Requeued task id=%s lock=%s', task._id, task.lock.toString('hex'));
|
||||
} else {
|
||||
log.error('Tasks', 'Failed to requeue task id=%s lock=%s', task._id, task.lock.toString('hex'));
|
||||
|
|
Loading…
Reference in a new issue