additional async eachSeries fix

This commit is contained in:
Akinwale Ariwodola 2017-09-25 17:40:05 +01:00
parent ce50f0a27a
commit cab6ba00bc

8
app.js
View file

@ -175,7 +175,13 @@ const processCompletedDeposits = (callback) => {
}); });
}); });
// TODO: Implement inserting messages into a pending message queue instead // 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); return cb(null, true);