From 23f18bd736a2d322331e4248da3411f8b7f9329f Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Mon, 25 Sep 2017 17:20:34 +0100 Subject: [PATCH] fix error with variable naming --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 33dd13a..ce8e329 100644 --- a/app.js +++ b/app.js @@ -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); }