summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-orders-ID.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-04-05 17:15:58 +0200
committerChristian Grothoff <christian@grothoff.org>2022-04-05 17:15:58 +0200
commit58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a (patch)
treeef9625d7929245f48d0142a658a702ca758399bd /src/backend/taler-merchant-httpd_private-get-orders-ID.c
parent69131a3253264dd8e7b595f4dd985c5ad8a8e2de (diff)
downloadmerchant-58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a.tar.gz
merchant-58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a.tar.bz2
merchant-58f1ae25c69e0e378af2c45b929c8bbf7d5c1b2a.zip
adapt to latest GNUnet API: GNUNET_JSON_spec_mark_optional() changed
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-orders-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-orders-ID.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-orders-ID.c b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
index 6ef119c5..58c05604 100644
--- a/src/backend/taler-merchant-httpd_private-get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-orders-ID.c
@@ -1083,7 +1083,8 @@ TMH_private_get_orders_ID (const struct TMH_RequestHandler *rh,
&gorc->contract_amount),
GNUNET_JSON_spec_mark_optional (
GNUNET_JSON_spec_string ("fulfillment_url",
- &gorc->fulfillment_url)),
+ &gorc->fulfillment_url),
+ NULL),
GNUNET_JSON_spec_string ("summary",
&summary),
GNUNET_JSON_spec_timestamp ("timestamp",