gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: wallet-core: fix bogus valida


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: fix bogus validation
Date: Tue, 07 Nov 2023 13:15:01 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 220dcfc39 wallet-core: fix bogus validation
220dcfc39 is described below

commit 220dcfc39737aa22d79e397392e3cca0fdd7d8f3
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Nov 7 13:14:59 2023 +0100

    wallet-core: fix bogus validation
---
 packages/taler-util/src/wallet-types.ts | 14 +++++++-------
 1 file 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 {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]