diff options
Diffstat (limited to 'src/lib/merchant_api_post_transfers.c')
-rw-r--r-- | src/lib/merchant_api_post_transfers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_post_transfers.c b/src/lib/merchant_api_post_transfers.c index 615453fa..85856b26 100644 --- a/src/lib/merchant_api_post_transfers.c +++ b/src/lib/merchant_api_post_transfers.c @@ -183,7 +183,7 @@ TALER_MERCHANT_transfers_post ( const char *backend_url, const struct TALER_Amount *credit_amount, const struct TALER_WireTransferIdentifierRawP *wtid, - const char *payto_uri, + struct TALER_FullPayto payto_uri, const char *exchange_url, TALER_MERCHANT_PostTransfersCallback cb, void *cb_cls) @@ -211,8 +211,8 @@ TALER_MERCHANT_transfers_post ( credit_amount), GNUNET_JSON_pack_data_auto ("wtid", wtid), - GNUNET_JSON_pack_string ("payto_uri", - payto_uri), + TALER_JSON_pack_full_payto ("payto_uri", + payto_uri), GNUNET_JSON_pack_string ("exchange_url", exchange_url)); eh = TALER_MERCHANT_curl_easy_get_ (pth->url); |