exchange

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

commit 8d20d8837d32b7c2705d60b2f2f031b73aaecf65
parent d135bff489267cb7d8b89a280855edce3aaaf662
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 28 Nov 2025 20:50:54 +0100

fix typst test regression, fix #10687

Diffstat:
Msrc/exchange/taler-exchange-httpd_aml-attributes-get.c | 2+-
Msrc/exchangedb/pg_select_kyc_accounts.c | 9+++++++--
Msrc/mhd/test_typst.c | 4++--
3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_aml-attributes-get.c b/src/exchange/taler-exchange-httpd_aml-attributes-get.c @@ -403,7 +403,7 @@ TEH_handler_aml_attributes_get ( "application/pdf")) { rctx->format = RCF_PDF; - rctx->details.pdf.global_attrs = json_array (); + rctx->details.pdf.global_attrs = json_object (); GNUNET_assert (NULL != rctx->details.pdf.global_attrs); if (NULL != TEH_global_pdf_form_data) GNUNET_assert (0 == diff --git a/src/exchangedb/pg_select_kyc_accounts.c b/src/exchangedb/pg_select_kyc_accounts.c @@ -210,10 +210,15 @@ TEH_PG_select_kyc_accounts ( ",COALESCE((lo.jproperties ->> 'HIGH_RISK_CUSTOMER')::bool,FALSE) AS high_risk" ",wt.payto_uri" " FROM kyc_targets kt" - " JOIN wire_targets wt" - " ON (wt.h_normalized_payto = kt.h_normalized_payto)" " LEFT JOIN legitimization_outcomes lo" " ON (lo.h_payto = kt.h_normalized_payto)" + " LEFT JOIN LATERAL (" + " SELECT payto_uri" + " FROM wire_targets" + " WHERE h_normalized_payto = kt.h_normalized_payto" + " ORDER BY wire_target_serial_id DESC" + " LIMIT 1" + " ) wt ON true" " WHERE (kyc_target_serial_id < $1)" // select most recent outcomes only " AND COALESCE (lo.is_active, TRUE)" diff --git a/src/mhd/test_typst.c b/src/mhd/test_typst.c @@ -98,11 +98,11 @@ run (void *cls, }; struct TALER_MHD_TypstDocument docs[] = { { - .form_name = "test_typst_1.typ", + .form_name = "test_typst_1", .data = forms[0], }, { - .form_name = "test_typst_1.typ", + .form_name = "test_typst_1", .data = forms[1], }, };