From 962bfde2144609f1911c967d93bbf88945ffe314 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 13 Sep 2022 17:41:47 +0200 Subject: wallet-core: fix withdrawTestBalance command --- packages/taler-util/src/walletTypes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/taler-util/src/walletTypes.ts') 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 { -- cgit v1.2.3