fix: add customerId to the list of updatable fields

This commit is contained in:
Sérgio Salgado 2022-03-31 22:06:05 +01:00
parent 51665b2b8f
commit 00adc25d15

View file

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