summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/walletTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-09-13 17:41:47 +0200
committerFlorian Dold <florian@dold.me>2022-09-13 17:41:47 +0200
commit962bfde2144609f1911c967d93bbf88945ffe314 (patch)
tree223a0f2e6a425a730e7b32424c1d8c8af7f9e88c /packages/taler-util/src/walletTypes.ts
parent676ae5102b618e7e52ba289d453a470fe77ce9d5 (diff)
downloadwallet-core-962bfde2144609f1911c967d93bbf88945ffe314.tar.gz
wallet-core-962bfde2144609f1911c967d93bbf88945ffe314.tar.bz2
wallet-core-962bfde2144609f1911c967d93bbf88945ffe314.zip
wallet-core: fix withdrawTestBalance command
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 c10e3be40..437ac2964 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -1166,7 +1166,7 @@ export interface WithdrawTestBalanceRequest {
/**
* Bank access API base URL. Defaults to the bankBaseUrl.
*/
- bankAccessApiBaseUrl: string;
+ bankAccessApiBaseUrl?: string;
exchangeBaseUrl: string;
forcedDenomSel?: ForcedDenomSel;
}
@@ -1245,7 +1245,7 @@ export const codecForWithdrawTestBalance =
.property("bankBaseUrl", codecForString())
.property("exchangeBaseUrl", codecForString())
.property("forcedDenomSel", codecForAny())
- .property("bankAccessApiBaseUrl", codecForString())
+ .property("bankAccessApiBaseUrl", codecOptional(codecForString()))
.build("WithdrawTestBalanceRequest");
export interface ApplyRefundResponse {