Dispense error status code fix (#142)

* 7.0.1

* add cash_out_txs.error_code to updateable fields
This commit is contained in:
Fabio Cigliano 2018-08-24 16:03:44 +02:00 committed by Josh Harvey
parent dfb64b8e6b
commit f90357804a

View file

@ -7,7 +7,7 @@ const toDb = helper.toDb
const toObj = helper.toObj
const UPDATEABLE_FIELDS = ['txHash', 'txVersion', 'status', 'dispense', 'dispenseConfirmed',
'notified', 'redeem', 'phone', 'error', 'swept', 'publishedAt', 'confirmedAt']
'notified', 'redeem', 'phone', 'error', 'swept', 'publishedAt', 'confirmedAt', 'errorCode']
module.exports = {upsert, update, insert}