additional async eachSeries fix
This commit is contained in:
parent
ce50f0a27a
commit
cab6ba00bc
1 changed files with 7 additions and 1 deletions
8
app.js
8
app.js
|
@ -175,7 +175,13 @@ const processCompletedDeposits = (callback) => {
|
|||
});
|
||||
});
|
||||
// TODO: Implement inserting messages into a pending message queue instead
|
||||
}, cb);
|
||||
}, (err) => {
|
||||
if (err) {
|
||||
return cb(err, null);
|
||||
}
|
||||
|
||||
return cb(null, true);
|
||||
});
|
||||
}
|
||||
|
||||
return cb(null, true);
|
||||
|
|
Loading…
Reference in a new issue