fix: accidentally a word
This commit is contained in:
parent
7b979cb81b
commit
13d5860ccb
1 changed files with 1 additions and 1 deletions
|
|
@ -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, [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue