Fix revenue route incorrect filter (and commit bank transaction) (#3874)

* Fix revenue route incorrect filtering

* Actually commit transaction
This commit is contained in:
Jai Agrawal
2025-06-30 14:45:23 -07:00
committed by GitHub
parent bcec478a64
commit 33d26238ce
3 changed files with 5 additions and 3 deletions

View File

@@ -903,7 +903,7 @@ pub async fn platform_revenue(
"
SELECT created, SUM(amount) sum
FROM payouts_values
WHERE date_available BETWEEN $1 AND $2
WHERE created BETWEEN $1 AND $2
GROUP BY created
ORDER BY created DESC
",