commit c51506dfd9c6432706eedec7bcc41c3e7cbf9cee
parent dc916133e50c682e252041ff46c286e6c8b069ce
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 15 Apr 2026 22:06:11 +0200
add placeholders for missing required_currency
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_get-templates-TEMPLATE_ID.c b/src/backend/taler-merchant-httpd_get-templates-TEMPLATE_ID.c
@@ -491,6 +491,9 @@ handle_get_templates_inventory (
GNUNET_JSON_pack_allow_null (
GNUNET_JSON_pack_object_incref ("editable_defaults",
tp->editable_defaults)),
+ GNUNET_JSON_pack_allow_null (
+ GNUNET_JSON_pack_string ("required_currency",
+ NULL /* FIXME: add support */)),
GNUNET_JSON_pack_object_steal ("template_contract",
template_contract));
inventory_payload_cleanup (&ipc);
@@ -550,6 +553,9 @@ TMH_get_templates_ID (
GNUNET_JSON_pack_allow_null (
GNUNET_JSON_pack_object_incref ("editable_defaults",
tp.editable_defaults)),
+ GNUNET_JSON_pack_allow_null (
+ GNUNET_JSON_pack_string ("required_currency",
+ NULL /* FIXME: add support */)),
GNUNET_JSON_pack_object_incref ("template_contract",
tp.template_contract));
TALER_MERCHANTDB_template_details_free (&tp);