fix: disable cache

This commit is contained in:
Nikola Ubavic 2022-02-22 14:32:03 +01:00
parent a7ee694169
commit 49cdd94906

View file

@ -9,7 +9,7 @@ const transactions = require('../../services/transactions')
const anonymous = require('../../../constants').anonymousCustomer const anonymous = require('../../../constants').anonymousCustomer
const logDateFormat = require('../../../logs').logDateFormat const logDateFormat = require('../../../logs').logDateFormat
const transactionsLoader = new DataLoader(ids => transactions.getCustomerTransactionsBatch(ids)) const transactionsLoader = new DataLoader(ids => transactions.getCustomerTransactionsBatch(ids), { cache: false })
const txLogFields = ['txClass', 'id', 'deviceId', 'toAddress', 'cryptoAtoms', const txLogFields = ['txClass', 'id', 'deviceId', 'toAddress', 'cryptoAtoms',
'cryptoCode', 'fiat', 'fiatCode', 'fee', 'status', 'fiatProfit', 'cryptoCode', 'fiat', 'fiatCode', 'fee', 'status', 'fiatProfit',
'dispense', 'notified', 'redeem', 'phone', 'error', 'dispense', 'notified', 'redeem', 'phone', 'error',