fix error with variable naming

This commit is contained in:
Akinwale Ariwodola 2017-09-25 17:20:34 +01:00
parent 5a072e7036
commit 23f18bd736

2
app.js
View file

@ -165,7 +165,7 @@ const processCompletedDeposits = (callback) => {
}
// remove the entry from the DB
return db.query('DELETE FROM CompletedDepositConfirmations WHERE DepositId = ?', [C.DepositId], (ierr) => {
return db.query('DELETE FROM CompletedDepositConfirmations WHERE DepositId = ?', [completedDeposit.DepositId], (ierr) => {
if (ierr) {
return ecb(ierr, null);
}