gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: Convert host ID to upper case.


From: gnunet
Subject: [libeufin] branch master updated: Convert host ID to upper case.
Date: Fri, 24 Jan 2020 23:37:09 +0100

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 1f0efeb  Convert host ID to upper case.
1f0efeb is described below

commit 1f0efebdc384e71f22f505125c26aceb6cb7eb0f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 24 23:36:41 2020 +0100

    Convert host ID to upper case.
---
 nexus/src/main/kotlin/Main.kt                         | 1 -
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/nexus/src/main/kotlin/Main.kt b/nexus/src/main/kotlin/Main.kt
index 65af692..dfe54bf 100644
--- a/nexus/src/main/kotlin/Main.kt
+++ b/nexus/src/main/kotlin/Main.kt
@@ -699,7 +699,6 @@ fun main() {
                         EbicsSubscriberEntity.findById(id) ?: throw 
SubscriberNotFoundError(HttpStatusCode.NotFound)
                     )
                 }
-
                 val response = client.postToBankSigned<EbicsNpkdRequest, 
EbicsKeyManagementResponse>(
                     bundle.ebicsUrl,
                     EbicsNpkdRequest.createRequest(
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 49dd595..a6329ab 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -283,7 +283,7 @@ fun main() {
                 return@get
             }
 
-            get("/admin/get/subscribers") {
+            get("/admin/subscribers") {
                 var ret = AdminGetSubscribers()
                 transaction {
                     EbicsSubscriberEntity.all().forEach {
@@ -308,7 +308,7 @@ fun main() {
                         partnerId = body.partnerID
                         userId = body.userID
                         systemId = null
-                        hostId = body.hostID
+                        hostId = body.hostID.toUpperCase()
                         state = SubscriberState.NEW
                         nextOrderID = 1
                         bankCustomer = customerEntity

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



reply via email to

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