diff options
author | Florian Dold <florian@dold.me> | 2023-06-30 22:00:20 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-30 22:00:20 +0200 |
commit | 9cfc138e751ba281897389064179e0f4763929e0 (patch) | |
tree | a6974e5f936168af043b7d493bd9d77352d78772 /packages/taler-wallet-core/src/operations/exchanges.ts | |
parent | 5754f00399d923a605619b3ee6ae84c11cea25f6 (diff) | |
download | wallet-core-9cfc138e751ba281897389064179e0f4763929e0.tar.xz |
wallet-core: use canonicalized base URL when querying exchange
Diffstat (limited to 'packages/taler-wallet-core/src/operations/exchanges.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/exchanges.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/exchanges.ts b/packages/taler-wallet-core/src/operations/exchanges.ts index c0373704a..5d120ccbd 100644 --- a/packages/taler-wallet-core/src/operations/exchanges.ts +++ b/packages/taler-wallet-core/src/operations/exchanges.ts @@ -570,7 +570,7 @@ export async function updateExchangeFromUrl( .mktx((x) => [x.exchanges, x.exchangeDetails]) .runReadWrite(async (tx) => { let exchange = await tx.exchanges.get(canonUrl); - const exchangeDetails = await getExchangeDetails(tx, baseUrl); + const exchangeDetails = await getExchangeDetails(tx, canonUrl); return { exchange, exchangeDetails }; }); if (!exchange) { |