From 6ee4558b6f3aecd1e8f4ce758e782a31b8dee78c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 May 2022 16:15:14 +0200 Subject: -sql fix --- src/exchange/taler-exchange-httpd_responses.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/exchange') diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c index 0e5c217a..afbf2476 100644 --- a/src/exchange/taler-exchange-httpd_responses.c +++ b/src/exchange/taler-exchange-httpd_responses.c @@ -406,7 +406,9 @@ TEH_RESPONSE_compile_transaction_history ( TALER_JSON_pack_amount ("amount", &pd->amount), GNUNET_JSON_pack_string ("exchange_base_url", - pd->exchange_base_url), + NULL == pd->exchange_base_url + ? TEH_base_url + : pd->exchange_base_url), GNUNET_JSON_pack_data_auto ("purse_pub", &pd->purse_pub), GNUNET_JSON_pack_data_auto ("coin_sig", -- cgit v1.2.3