commit 57b697a4d6b110eb7afb89e0a25873c3aec06e72 parent 56f1fbaa740f2591b9d40a4a69db82996d5270bb Author: Christian Grothoff <christian@grothoff.org> Date: Mon, 23 Mar 2026 12:52:21 +0100 fix typos Diffstat:
4 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_get-private-products-PRODUCT_ID.c b/src/backend/taler-merchant-httpd_get-private-products-PRODUCT_ID.c @@ -113,9 +113,6 @@ TMH_private_get_products_ID ( (0 == pd.price_array_length) ? NULL : &pd.price_array[0])), - TALER_JSON_pack_amount_array ("unit_price", - pd.price_array_length, - pd.price_array), GNUNET_JSON_pack_allow_null ( GNUNET_JSON_pack_string ("image", pd.image)), diff --git a/src/backend/taler-merchant-httpd_patch-private-pots-POT_ID.c b/src/backend/taler-merchant-httpd_patch-private-pots-POT_ID.c @@ -49,7 +49,7 @@ TMH_private_patch_pot (const struct TMH_RequestHandler *rh, GNUNET_JSON_spec_string ("description", &description), GNUNET_JSON_spec_mark_optional ( - TALER_JSON_spec_amount_any_array ("expected_pot_total", + TALER_JSON_spec_amount_any_array ("expected_pot_totals", &expected_pot_total_len, &expected_pot_totals), &no_expected_total), diff --git a/src/lib/merchant_api_get-private-otp-devices-DEVICE_ID.c b/src/lib/merchant_api_get-private-otp-devices-DEVICE_ID.c @@ -102,7 +102,7 @@ handle_get_otp_device_finished (void *cls, { uint32_t alg32; struct GNUNET_JSON_Specification spec[] = { - GNUNET_JSON_spec_string ("otp_device_description", + GNUNET_JSON_spec_string ("device_description", &ogr.details.ok.otp_device_description), GNUNET_JSON_spec_uint32 ("otp_algorithm", &alg32), diff --git a/src/lib/merchant_api_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c b/src/lib/merchant_api_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c @@ -116,7 +116,7 @@ handle_get_token_family_finished (void *cls, &tfgr.details.ok.valid_after), GNUNET_JSON_spec_timestamp ("valid_before", &tfgr.details.ok.valid_before), - GNUNET_JSON_spec_relative_time ("duation", + GNUNET_JSON_spec_relative_time ("duration", &tfgr.details.ok.duration), GNUNET_JSON_spec_relative_time ("validity_granularity", &tfgr.details.ok.validity_granularity),