fix: typo
This commit is contained in:
parent
edbdfb0ec3
commit
fc86956a09
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ function insertNewBills (t, billRows, machineTx) {
|
|||
// bills before 8.6 don't have destination_unit
|
||||
const dbBills = _.map(_.defaults({ destination_unit: 'cashbox'}))(_dbBills)
|
||||
|
||||
const billsByDestination = _.countBy(_.get(['distination_unit']) ,dbBills)
|
||||
const billsByDestination = _.countBy(_.get(['destination_unit']) ,dbBills)
|
||||
|
||||
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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue