From 13d5860ccb2c3e5fa4d6af7133a3933201106966 Mon Sep 17 00:00:00 2001 From: Taranto Date: Wed, 9 Aug 2023 17:54:50 +0100 Subject: [PATCH] fix: accidentally a word --- lib/cash-in/cash-in-atomic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cash-in/cash-in-atomic.js b/lib/cash-in/cash-in-atomic.js index be558358..2744eb3b 100644 --- a/lib/cash-in/cash-in-atomic.js +++ b/lib/cash-in/cash-in-atomic.js @@ -46,7 +46,7 @@ function insertNewBills (t, billRows, machineTx) { const columns = ['id', 'fiat', 'fiat_code', 'crypto_code', 'cash_in_fee', 'cash_in_txs_id', 'device_time', 'destination_unit'] const sql = pgp.helpers.insert(dbBills, columns, 'bills') const deviceID = machineTx.deviceId - const sql2 = `update devices stacker1f = stacker1f + $2, stacker1r = stacker1r + $3, stacker2f = stacker2f + $4, stacker2r = stacker2r + $5, stacker3f = stacker3f + $6, stacker3r = stacker3r + $7 + const sql2 = `update devices set stacker1f = stacker1f + $2, stacker1r = stacker1r + $3, stacker2f = stacker2f + $4, stacker2r = stacker2r + $5, stacker3f = stacker3f + $6, stacker3r = stacker3r + $7 where device_id = $1` return t.none(sql2, [