exchange

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

commit ed3ba557793c53a1057d2945c6b76ffb7ff0fd5b
parent fbade47b9054441294fe2a9090ca8c92e8b5de67
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 27 Nov 2025 13:40:26 +0100

fix responses: proper XML date, include EC

Diffstat:
Msrc/exchange/taler-exchange-httpd_aml-accounts-get.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_aml-accounts-get.c b/src/exchange/taler-exchange-httpd_aml-accounts-get.c @@ -260,11 +260,11 @@ record_cb ( high_risk ? "1" : "0", GNUNET_TIME_absolute_is_never (open_time. abs_time) - ? "-" + ? "" : GNUNET_TIME_timestamp2s (open_time), GNUNET_TIME_absolute_is_never (close_time. abs_time) - ? "-" + ? "" : GNUNET_TIME_timestamp2s (close_time)); GNUNET_free (ecomments); break; @@ -398,11 +398,11 @@ TEH_handler_aml_accounts_get ( else { GNUNET_break_op (0); - return TALER_MHD_REPLY_JSON_PACK ( + return TALER_MHD_reply_with_error ( rc->connection, MHD_HTTP_NOT_ACCEPTABLE, - GNUNET_JSON_pack_string ("hint", - mime)); + TALER_EC_GENERIC_PARAMETER_MALFORMED, + mime); } }