diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-templates.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-templates.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-templates.c b/src/backend/taler-merchant-httpd_private-post-templates.c index 55dd7954..38daf664 100644 --- a/src/backend/taler-merchant-httpd_private-post-templates.c +++ b/src/backend/taler-merchant-httpd_private-post-templates.c @@ -72,10 +72,8 @@ TMH_private_post_templates (const struct TMH_RequestHandler *rh, GNUNET_JSON_spec_string ("image", (const char **) &tp.image), NULL), - GNUNET_JSON_spec_mark_optional ( - GNUNET_JSON_spec_json ("template_contract", - &tp.template_contract), - NULL), + GNUNET_JSON_spec_json ("template_contract", + &tp.template_contract), GNUNET_JSON_spec_end () }; |