From f90357804ac312317b5df03ad1111a9ab907e308 Mon Sep 17 00:00:00 2001 From: Fabio Cigliano Date: Fri, 24 Aug 2018 16:03:44 +0200 Subject: [PATCH] Dispense error status code fix (#142) * 7.0.1 * add cash_out_txs.error_code to updateable fields --- lib/cash-out/cash-out-low.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cash-out/cash-out-low.js b/lib/cash-out/cash-out-low.js index a237bfb3..b47f3c76 100644 --- a/lib/cash-out/cash-out-low.js +++ b/lib/cash-out/cash-out-low.js @@ -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}