fix err bug
This commit is contained in:
parent
6840dcdef3
commit
62b19f4295
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ exports.addDispense = function addDispense(session, tx) {
|
|||
connect(function(cerr, client, done) {
|
||||
if (cerr) return;
|
||||
|
||||
insertIncoming(client, session, tx, 0, tx.fiat, 'dispense', 'authorized', function () {
|
||||
insertIncoming(client, session, tx, 0, tx.fiat, 'dispense', 'authorized', function (err) {
|
||||
done();
|
||||
if (err) logger.error(err);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue