summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-orders.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-11-25 16:05:05 +0900
committerChristian Grothoff <grothoff@gnunet.org>2023-11-25 16:05:05 +0900
commit7782a680228b6e76ae2598cacfc65ff250e8e020 (patch)
tree8a1e4e462808077b49cee038fed6b634d9176313 /src/backend/taler-merchant-httpd_private-post-orders.c
parent6fa958a3cec156bc0eb89ddfae8b150d7400d2be (diff)
downloadmerchant-7782a680228b6e76ae2598cacfc65ff250e8e020.tar.gz
merchant-7782a680228b6e76ae2598cacfc65ff250e8e020.tar.bz2
merchant-7782a680228b6e76ae2598cacfc65ff250e8e020.zip
-update to new spec parsers for better error checking
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-orders.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-orders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-orders.c b/src/backend/taler-merchant-httpd_private-post-orders.c
index 4d60fa2d..11b9abcd 100644
--- a/src/backend/taler-merchant-httpd_private-post-orders.c
+++ b/src/backend/taler-merchant-httpd_private-post-orders.c
@@ -1214,7 +1214,7 @@ patch_order (struct OrderContext *oc)
bool no_fee;
struct GNUNET_JSON_Specification spec[] = {
GNUNET_JSON_spec_mark_optional (
- GNUNET_JSON_spec_string ("merchant_base_url",
+ TALER_JSON_spec_web_url ("merchant_base_url",
&merchant_base_url),
NULL),
GNUNET_JSON_spec_mark_optional (