donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

commit 66dd14eed0fca751292841c4eea929f689d561a3
parent 605fb2e5395caf41b9d1a1d76b967c11080eac54
Author: bohdan-potuzhnyi <bohdan.potuzhnyi@gmail.com>
Date:   Mon, 14 Jul 2025 11:30:40 +0200

update to reflect changes at exchange

Diffstat:
Msrc/donau/donau-httpd_keys.c | 3++-
Msrc/lib/donau_api_handle.c | 2+-
Msrc/testing/test_donau_api.c | 8++++----
3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c @@ -1220,7 +1220,8 @@ DH_handler_keys (struct DH_RequestContext *rc, "failed to create keys response"); } /* FIXME: check client etag and reply not modified! */ - resp = TALER_MHD_can_compress (connection) + resp = TALER_MHD_can_compress (connection, + TALER_MHD_CT_DEFLATE) ? ksh->response_compressed : ksh->response_uncompressed; GNUNET_assert (NULL != resp); diff --git a/src/lib/donau_api_handle.c b/src/lib/donau_api_handle.c @@ -690,7 +690,7 @@ DONAU_keys_to_json (const struct DONAU_Keys *kd) if (NULL != kd->currency_specification.name) { - currency_spec = TALER_CONFIG_currency_specs_to_json ( + currency_spec = TALER_JSON_currency_specs_to_json ( &kd->currency_specification ); } diff --git a/src/testing/test_donau_api.c b/src/testing/test_donau_api.c @@ -77,7 +77,7 @@ run (void *cls, "example.com", "EUR:50", // max_per_year "EUR:0", // receipts_to_date - 2024, // current year + 2025, // current year &bearer, MHD_HTTP_CREATED), TALER_TESTING_cmd_charity_get ("get-charity-by-id", @@ -91,16 +91,16 @@ run (void *cls, TALER_TESTING_cmd_issue_receipts ("issue-receipts", "post-charity", uses_cs, - 2024, + 2025, "7560001010000", // tax id "1234", // salt for tax id hash MHD_HTTP_CREATED), TALER_TESTING_cmd_submit_receipts ("submit-receipts", "issue-receipts", // cmd trait reference - 2024, + 2025, MHD_HTTP_CREATED), TALER_TESTING_cmd_donation_statement_get ("donation-statement", - 2024, + 2025, MHD_HTTP_OK), TALER_TESTING_cmd_charity_delete ("delete-charity", "post-charity", // cmd trait reference