summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_account.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_get_account.c')
-rw-r--r--src/lib/merchant_api_get_account.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_get_account.c b/src/lib/merchant_api_get_account.c
index e9a13b33..84595e80 100644
--- a/src/lib/merchant_api_get_account.c
+++ b/src/lib/merchant_api_get_account.c
@@ -96,11 +96,11 @@ handle_get_account_finished (void *cls,
GNUNET_JSON_spec_fixed_auto ("salt",
&tgr.details.ok.ad.salt),
GNUNET_JSON_spec_mark_optional (
- GNUNET_JSON_spec_string ("credit_facade_url",
+ TALER_JSON_spec_web_url ("credit_facade_url",
&tgr.details.ok.ad.credit_facade_url),
NULL),
- GNUNET_JSON_spec_string ("payto_uri",
- &tgr.details.ok.ad.payto_uri),
+ TALER_JSON_spec_payto_uri ("payto_uri",
+ &tgr.details.ok.ad.payto_uri),
GNUNET_JSON_spec_fixed_auto ("h_wire",
&tgr.details.ok.ad.h_wire),
GNUNET_JSON_spec_bool ("active",