gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: Allow public accounts creation.


From: gnunet
Subject: [libeufin] branch master updated: Allow public accounts creation.
Date: Wed, 12 Jan 2022 19:42:34 +0100

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 5d44119f Allow public accounts creation.
5d44119f is described below

commit 5d44119fc98b17128667e53310769436a39292af
Author: ms <ms@taler.net>
AuthorDate: Wed Jan 12 19:42:27 2022 +0100

    Allow public accounts creation.
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/JSON.kt | 3 ++-
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/JSON.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/JSON.kt
index b7d0c3f2..02d61048 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/JSON.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/JSON.kt
@@ -91,7 +91,8 @@ data class EbicsBankAccountRequest(
 
 data class CustomerRegistration(
     val username: String,
-    val password: String
+    val password: String,
+    val isPublic: Boolean = false
 )
 
 // Could be used as a general bank account info container.
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 0412314f..33b761f6 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -1399,6 +1399,7 @@ val sandboxApp: Application.() -> Unit = {
                             label = req.username
                             owner = req.username
                             this.demoBank = demobank
+                            isPublic = req.isPublic
                         }
                         DemobankCustomerEntity.new {
                             username = req.username

-- 
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]