commit a8ddc7bd0ece92d7387554c452b65f7fec0ac408
parent f9c79f277249a41c83508bbcb980772635aa8f31
Author: Matyja Lukas Adam <lukas.matyja@students.bfh.ch>
Date: Sun, 9 Jun 2024 00:48:56 +0200
small changes
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/donau/donau-httpd.c b/src/donau/donau-httpd.c
@@ -55,7 +55,7 @@
* Above what request latency do we start to log?
*/
#define WARN_LATENCY GNUNET_TIME_relative_multiply ( \
- GNUNET_TIME_UNIT_MILLISECONDS, 500)
+ GNUNET_TIME_UNIT_MILLISECONDS, 500)
/**
* Are clients allowed to request /keys for times other than the
diff --git a/src/donau/donau-httpd_donation-statement.c b/src/donau/donau-httpd_donation-statement.c
@@ -119,7 +119,7 @@ DH_handler_donation_statement_get (
rc->connection,
MHD_HTTP_OK,
TALER_JSON_pack_amount ("total", &total_donations),
- GNUNET_JSON_pack_data_auto ("donation_statement",
+ GNUNET_JSON_pack_data_auto ("donation_statement_sig",
&donau_sig),
GNUNET_JSON_pack_data_auto ("donau_pub", &donau_pub));
diff --git a/src/lib/donau_api_donation_statement_get.c b/src/lib/donau_api_donation_statement_get.c
@@ -96,7 +96,7 @@ handle_donation_statement_get_finished (void *cls,
case MHD_HTTP_OK:
struct GNUNET_JSON_Specification spec[] = {
GNUNET_JSON_spec_fixed_auto (
- "donation_statement",
+ "donation_statement_sig",
&dsresp.details.ok.donation_statement_sig),
TALER_JSON_spec_amount_any ("total",
&dsresp.details.ok.total_amount),