diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-accounts.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-accounts.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-accounts.c b/src/backend/taler-merchant-httpd_private-get-accounts.c index a5791960..b487d486 100644 --- a/src/backend/taler-merchant-httpd_private-get-accounts.c +++ b/src/backend/taler-merchant-httpd_private-get-accounts.c @@ -20,6 +20,7 @@ */ #include "platform.h" #include "taler-merchant-httpd_private-get-accounts.h" +#include <taler/taler_json_lib.h> /** @@ -43,8 +44,8 @@ add_account (void *cls, GNUNET_JSON_PACK ( GNUNET_JSON_pack_bool ("active", ad->active), - GNUNET_JSON_pack_string ("payto_uri", - ad->payto_uri), + TALER_JSON_pack_full_payto ("payto_uri", + ad->payto_uri), GNUNET_JSON_pack_data_auto ("h_wire", &ad->h_wire)))); } |