diff options
author | Florian Dold <florian@dold.me> | 2023-11-07 13:14:59 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-11-07 13:14:59 +0100 |
commit | 220dcfc39737aa22d79e397392e3cca0fdd7d8f3 (patch) | |
tree | f85a6550f990fadedaa4d6a7c8fd34ee68e937ac /packages/taler-util/src/wallet-types.ts | |
parent | 96e8ba5c239c8bcb40cbe330ee599b132005e4de (diff) | |
download | wallet-core-220dcfc39737aa22d79e397392e3cca0fdd7d8f3.tar.xz |
wallet-core: fix bogus validation
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index aaec09b66..447068188 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -557,11 +557,11 @@ export interface CoinDumpJson { withdrawal_reserve_pub: string | undefined; coin_status: CoinStatus; spend_allocation: - | { - id: string; - amount: AmountString; - } - | undefined; + | { + id: string; + amount: AmountString; + } + | undefined; /** * Information about the age restriction */ @@ -1583,7 +1583,7 @@ export const codecForIntegrationTestArgs = (): Codec<IntegrationTestArgs> => .property("merchantAuthToken", codecOptional(codecForString())) .property("amountToSpend", codecForAmountString()) .property("amountToWithdraw", codecForAmountString()) - .property("corebankApiBaseUrl", codecForAmountString()) + .property("corebankApiBaseUrl", codecForString()) .build("IntegrationTestArgs"); export interface IntegrationTestV2Args { @@ -1598,7 +1598,7 @@ export const codecForIntegrationTestV2Args = (): Codec<IntegrationTestV2Args> => .property("exchangeBaseUrl", codecForString()) .property("merchantBaseUrl", codecForString()) .property("merchantAuthToken", codecOptional(codecForString())) - .property("corebankApiBaseUrl", codecForAmountString()) + .property("corebankApiBaseUrl", codecForString()) .build("IntegrationTestV2Args"); export interface AddExchangeRequest { |