gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libeufin] branch master updated: complete previous commit


From: gnunet
Subject: [GNUnet-SVN] [libeufin] branch master updated: complete previous commit
Date: Thu, 26 Sep 2019 19:00:36 +0200

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

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 0e35086  complete previous commit
0e35086 is described below

commit 0e3508684d8e6f3d8bd56f18edb005ddd0208b16
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Sep 26 19:00:20 2019 +0200

    complete previous commit
---
 src/main/kotlin/Main.kt             | 6 +-----
 src/main/kotlin/tech/libeufin/DB.kt | 4 ++--
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt
index be72bef..378670a 100644
--- a/src/main/kotlin/Main.kt
+++ b/src/main/kotlin/Main.kt
@@ -72,13 +72,9 @@ fun main() {
                     logger.info("name:: ->> " + body.name)
 
                     transaction {
-                        createSubscriber()
-                    }
-
-                    transaction {
                         BankCustomers.insert {
                             it[name] = body.name
-                            // it[ebicsSubscrber] = createSubscriber().id
+                            it[ebicsSubscriber] = createSubscriber().id
                         }
                     }
 
diff --git a/src/main/kotlin/tech/libeufin/DB.kt 
b/src/main/kotlin/tech/libeufin/DB.kt
index 6695809..f5f9448 100644
--- a/src/main/kotlin/tech/libeufin/DB.kt
+++ b/src/main/kotlin/tech/libeufin/DB.kt
@@ -71,11 +71,11 @@ enum class KeyStates {
 object BankCustomers: IntIdTable() {
     // Customer ID is the default 'id' field provided by the constructor.
     val name = varchar("name", CUSTOMER_NAME_MAX_LENGTH)
-    // val ebicsSubscrber = reference("ebicsSubscriber", EbicsUsers)
+    val ebicsSubscriber = reference("ebicsSubscriber", EbicsUsers)
 }
 
 /**
- * The following three tables define IDs that make a EBCIS
+ * The following tables define IDs that make a EBCIS
  * 'subscriber' exist.  Each EBICS subscriber is the tuple:
  *
  * - UserID, the human who is performing a EBICS task.

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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