aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-11-07 13:14:59 +0100
committerFlorian Dold <florian@dold.me>2023-11-07 13:14:59 +0100
commit220dcfc39737aa22d79e397392e3cca0fdd7d8f3 (patch)
treef85a6550f990fadedaa4d6a7c8fd34ee68e937ac /packages/taler-util
parent96e8ba5c239c8bcb40cbe330ee599b132005e4de (diff)
downloadwallet-core-220dcfc39737aa22d79e397392e3cca0fdd7d8f3.tar.xz
wallet-core: fix bogus validation
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/wallet-types.ts14
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 {