gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix DB check


From: gnunet
Subject: [libeufin] branch master updated: fix DB check
Date: Mon, 23 Nov 2020 12:49:56 +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 135d692  fix DB check
135d692 is described below

commit 135d6927159c1de441c6c8921f1270e3e5e824c0
Author: MS <ms@taler.net>
AuthorDate: Mon Nov 23 12:49:50 2020 +0100

    fix DB check
---
 nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
index d2c9112..6cfa8f2 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
@@ -644,7 +644,7 @@ fun serverMain(dbName: String, host: String) {
                 val body = call.receive<CreateBankConnectionRequestJson>()
                 transaction {
                     val user = authenticateRequest(call.request)
-                    if (NexusBankAccountEntity.find {
+                    if (NexusBankConnectionEntity.find {
                             NexusBankConnectionsTable.id eq body.name and 
(NexusBankConnectionsTable.owner eq user.id)
                         }.firstOrNull() != null) {
                         throw NexusError(HttpStatusCode.NotAcceptable, 
"connection '${body.name}' exists already")

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