exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 7d84232c09fc1a49395416eeceb21bd6fcd89958
parent 57491369b096c89ab831c67b547bc77d21c38d74
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  8 Jul 2025 01:05:39 +0200

-fix SQL syntax

Diffstat:
Msrc/exchangedb/pg_select_aml_statistics.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/exchangedb/pg_select_aml_statistics.c b/src/exchangedb/pg_select_aml_statistics.c @@ -130,7 +130,7 @@ TEH_PG_select_aml_statistics ( " event_type AS name" ",COUNT(*) AS value" " FROM kyc_events" - " WHERE event_type IN $1" + " WHERE event_type = ANY ($1)" " AND event_timestamp >= $2" " AND event_timestamp < $3" " GROUP BY event_type;");