summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-templates.c
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2022-12-15 06:34:54 -0500
committerpriscilla <priscilla.huang@efrei.net>2022-12-15 06:34:54 -0500
commited8954ef866ee460cfc4f3146d721c13fb250db1 (patch)
tree27fdcb4be21b24fd647a85d4d114897ad81854f7 /src/backend/taler-merchant-httpd_private-post-templates.c
parent23e06d71884b593cc7e379cafece085be1680d53 (diff)
downloadmerchant-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.c6
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 ()
};