diff options
Diffstat (limited to 'src/lib/merchant_api_post_account.c')
-rw-r--r-- | src/lib/merchant_api_post_account.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_post_account.c b/src/lib/merchant_api_post_account.c index 690aef17..3130b690 100644 --- a/src/lib/merchant_api_post_account.c +++ b/src/lib/merchant_api_post_account.c @@ -116,7 +116,7 @@ handle_post_account_finished (void *cls, GNUNET_JSON_parse (json, spec, NULL, NULL)) - { + { GNUNET_break_op (0); apr.hr.http_status = 0; apr.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE; @@ -175,7 +175,7 @@ struct TALER_MERCHANT_AccountsPostHandle * TALER_MERCHANT_accounts_post ( struct GNUNET_CURL_Context *ctx, const char *backend_url, - const char *payto_uri, + struct TALER_FullPayto payto_uri, const char *credit_facade_url, const json_t *credit_facade_credentials, TALER_MERCHANT_AccountsPostCallback cb, @@ -185,7 +185,7 @@ TALER_MERCHANT_accounts_post ( json_t *req_obj; req_obj = GNUNET_JSON_PACK ( - GNUNET_JSON_pack_string ( + TALER_JSON_pack_full_payto ( "payto_uri", payto_uri), GNUNET_JSON_pack_allow_null ( |