diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 8614fd7e3..6197f000e 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1183,14 +1183,14 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( throw Error("invalid taler-template URI"); } if ( - url.templateParams.amount && + url.templateParams.amount !== undefined && typeof url.templateParams.amount === "string" ) { templateDetails.amount = req.templateParams.amount ?? url.templateParams.amount; } if ( - url.templateParams.summary && + url.templateParams.summary !== undefined && typeof url.templateParams.summary === "string" ) { templateDetails.summary = |