diff options
author | priscilla <priscilla.huang@efrei.net> | 2022-12-15 06:34:54 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2022-12-15 06:34:54 -0500 |
commit | ed8954ef866ee460cfc4f3146d721c13fb250db1 (patch) | |
tree | 27fdcb4be21b24fd647a85d4d114897ad81854f7 /src/backend/taler-merchant-httpd_private-post-templates.c | |
parent | 23e06d71884b593cc7e379cafece085be1680d53 (diff) | |
download | merchant-ed8954ef866ee460cfc4f3146d721c13fb250db1.tar.gz merchant-ed8954ef866ee460cfc4f3146d721c13fb250db1.tar.bz2 merchant-ed8954ef866ee460cfc4f3146d721c13fb250db1.zip |
using templates
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 () }; |