summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/walletTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-12 14:09:28 +0200
committerFlorian Dold <florian@dold.me>2022-09-12 14:09:28 +0200
commitfc413bb5eca2171abb93b96e9b86f7b76c0a27af (patch)
tree2e4eaef8f8ef0bed2e4d4b68646a033b9f48a8eb /packages/taler-util/src/walletTypes.ts
parentdbabb7b8d2f63ad67ab53072c878bbc2d3b7a4a8 (diff)
downloadwallet-core-fc413bb5eca2171abb93b96e9b86f7b76c0a27af.tar.gz
wallet-core-fc413bb5eca2171abb93b96e9b86f7b76c0a27af.tar.bz2
wallet-core-fc413bb5eca2171abb93b96e9b86f7b76c0a27af.zip
wallet-core: make bank access API URL optional in runIntegrationTest
Diffstat (limited to 'packages/taler-util/src/walletTypes.ts')
-rw-r--r--packages/taler-util/src/walletTypes.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts
index 95772a58b..e79aa0b36 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -874,7 +874,7 @@ export const codecForTestPayArgs = (): Codec<TestPayArgs> =>
export interface IntegrationTestArgs {
exchangeBaseUrl: string;
bankBaseUrl: string;
- bankAccessApiBaseUrl: string;
+ bankAccessApiBaseUrl?: string;
merchantBaseUrl: string;
merchantAuthToken?: string;
amountToWithdraw: string;
@@ -889,7 +889,7 @@ export const codecForIntegrationTestArgs = (): Codec<IntegrationTestArgs> =>
.property("merchantAuthToken", codecOptional(codecForString()))
.property("amountToSpend", codecForAmountString())
.property("amountToWithdraw", codecForAmountString())
- .property("bankAccessApiBaseUrl", codecForAmountString())
+ .property("bankAccessApiBaseUrl", codecOptional(codecForAmountString()))
.build("IntegrationTestArgs");
export interface AddExchangeRequest {