aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/pay-merchant.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/pay-merchant.ts')
-rw-r--r--packages/taler-wallet-core/src/pay-merchant.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts
index 77ea4c4c1..090a11cf0 100644
--- a/packages/taler-wallet-core/src/pay-merchant.ts
+++ b/packages/taler-wallet-core/src/pay-merchant.ts
@@ -1609,7 +1609,7 @@ export async function checkPayForTemplate(
if (!parsedUri) {
throw Error("invalid taler-template URI");
}
- const asd = await downloadTemplate(
+ const templateDetails = await downloadTemplate(
wex,
parsedUri.merchantBaseUrl,
parsedUri.templateId,
@@ -1626,7 +1626,7 @@ export async function checkPayForTemplate(
}
return {
- ...asd,
+ templateDetails,
supportedCurrencies: Object.keys(cfg.body.currencies),
};
}