diff options
Diffstat (limited to 'src/lib/merchant_api_wallet_get_reward.c')
-rw-r--r-- | src/lib/merchant_api_wallet_get_reward.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/merchant_api_wallet_get_reward.c b/src/lib/merchant_api_wallet_get_reward.c index 534eb7f4..1f6f6176 100644 --- a/src/lib/merchant_api_wallet_get_reward.c +++ b/src/lib/merchant_api_wallet_get_reward.c @@ -97,8 +97,9 @@ handle_wallet_reward_get_finished (void *cls, struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_timestamp ("expiration", &wgr.details.ok.expiration), - GNUNET_JSON_spec_string ("exchange_url", + TALER_JSON_spec_web_url ("exchange_url", &wgr.details.ok.exchange_url), + /* Does not have to be a Web URL */ GNUNET_JSON_spec_string ("next_url", &wgr.details.ok.next_url), TALER_JSON_spec_amount_any ("reward_amount", |