From cdd0adbdf71b59dde5d55d81bced8291d012a0d5 Mon Sep 17 00:00:00 2001 From: Rafael Taranto Date: Tue, 4 Mar 2025 11:30:01 +0000 Subject: [PATCH] Revert "LAM-1311 feat: operator cancel no longer adds to compliance" --- lib/tx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tx.js b/lib/tx.js index 38c95e2c..d43c2818 100644 --- a/lib/tx.js +++ b/lib/tx.js @@ -85,7 +85,7 @@ function customerHistory (customerId, thresholdDays) { FROM cash_out_txs txOut WHERE txOut.customer_id = $1 AND txOut.created > now() - interval $2 - AND (error_code IS NULL OR error_code NOT IN ('scoreThresholdReached', 'walletScoringError')) + AND (error_code IS NULL OR error_code NOT IN ('operatorCancel', 'scoreThresholdReached', 'walletScoringError')) AND fiat > 0 ) ch WHERE NOT ch.expired ORDER BY ch.created`