gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix db access


From: gnunet
Subject: [libeufin] branch master updated: fix db access
Date: Tue, 16 Jun 2020 18:05:33 +0200

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 0f559fc  fix db access
0f559fc is described below

commit 0f559fc895234dfb9d8a0bb2cdaf4f90f738926e
Author: MS <ms@taler.net>
AuthorDate: Tue Jun 16 18:05:28 2020 +0200

    fix db access
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
index 14ffe5b..1fbe7e8 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -202,7 +202,7 @@ fun requireBankConnection(call: ApplicationCall, 
parameterKey: String): NexusBan
     if (name == null) {
         throw NexusError(HttpStatusCode.InternalServerError, "no parameter for 
bank connection")
     }
-    val conn = NexusBankConnectionEntity.findById(name)
+    val conn = transaction { NexusBankConnectionEntity.findById(name) }
     if (conn == null) {
         throw NexusError(HttpStatusCode.NotFound, "bank connection '$name' not 
found")
     }

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