Merge pull request #1464 from chaotixkilla/fix-cash-out-transaction-history-fetching
Fix customer cash-out transaction history fetching
This commit is contained in:
commit
8daa2a0585
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ function customerHistory (customerId, thresholdDays) {
|
|||
FROM cash_out_txs txOut
|
||||
WHERE txOut.customer_id = $1
|
||||
AND txOut.created > now() - interval $2
|
||||
AND error_code NOT IN ('operatorCancel', 'scoreThresholdReached', 'ciphertraceError')
|
||||
AND (error_code IS NULL OR error_code NOT IN ('operatorCancel', 'scoreThresholdReached', 'ciphertraceError'))
|
||||
AND fiat > 0
|
||||
) ch WHERE NOT ch.expired ORDER BY ch.created`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue