diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_post-orders-ID-pay.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c index ff4f1ab1..10dca3d9 100644 --- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c +++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c @@ -1975,7 +1975,8 @@ parse_pay (struct MHD_Connection *connection, &coins), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("session_id", - &session_id)), + &session_id), + NULL), GNUNET_JSON_spec_end () }; @@ -2059,10 +2060,12 @@ parse_pay (struct MHD_Connection *connection, &exchange_url), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_fixed_auto ("minimum_age_sig", - &minimum_age_sig)), + &minimum_age_sig), + NULL), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_json ("age_commitment", - &age_commitment)), + &age_commitment), + NULL), GNUNET_JSON_spec_end () }; enum GNUNET_GenericReturnValue res; @@ -2264,7 +2267,8 @@ parse_pay (struct MHD_Connection *connection, &pc->amount), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_string ("fulfillment_url", - &fulfillment_url)), + &fulfillment_url), + NULL), TALER_JSON_spec_amount ("max_fee", TMH_currency, &pc->max_fee), @@ -2285,7 +2289,8 @@ parse_pay (struct MHD_Connection *connection, &pc->h_wire), GNUNET_JSON_spec_mark_optional ( GNUNET_JSON_spec_fixed_auto ("minimum_age", - &pc->minimum_age)), + &pc->minimum_age), + NULL), GNUNET_JSON_spec_end () }; enum GNUNET_GenericReturnValue res; |