diff options
author | Florian Dold <florian@dold.me> | 2023-05-11 13:05:49 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-05-11 13:05:49 +0200 |
commit | 1d718dda1d2fdb079e3712c2f27a8c7694f98fe1 (patch) | |
tree | 573f44d284e350b5eb1db333908e64f5fd4e0ea1 | |
parent | 07bf3d5b8f1b57f4881a023c4ee7123761248db9 (diff) | |
download | wallet-core-1d718dda1d2fdb079e3712c2f27a8c7694f98fe1.tar.xz |
-optional
-rw-r--r-- | packages/taler-wallet-core/src/bank-api-client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/bank-api-client.ts b/packages/taler-wallet-core/src/bank-api-client.ts index ead985a58..a7484b0b2 100644 --- a/packages/taler-wallet-core/src/bank-api-client.ts +++ b/packages/taler-wallet-core/src/bank-api-client.ts @@ -116,7 +116,7 @@ export namespace BankApi { const resp = await bank.http.postJson(url.href, { username, password, - iban: options.iban, + iban: options?.iban, }); let paytoUri = `payto://x-taler-bank/localhost/${username}`; if (resp.status !== 200 && resp.status !== 202 && resp.status !== 204) { |