gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: hostID mandatory


From: gnunet
Subject: [libeufin] branch master updated: hostID mandatory
Date: Fri, 24 Jan 2020 23:18:26 +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 99677ee  hostID mandatory
99677ee is described below

commit 99677ee7a7c3733dcf0cf792bae1f5976f723fd6
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 24 23:18:14 2020 +0100

    hostID mandatory
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2 +-
 sandbox/src/main/python/libeufin-cli                  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 858d2a7..49dd595 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -272,7 +272,6 @@ fun main() {
             }
 
             get("/{id}/balance") {
-
                 val customer = findCustomer(call.parameters["id"])
                 val balance = calculateBalance(customer.id.value, null, null)
                 call.respond(
@@ -309,6 +308,7 @@ fun main() {
                         partnerId = body.partnerID
                         userId = body.userID
                         systemId = null
+                        hostId = body.hostID
                         state = SubscriberState.NEW
                         nextOrderID = 1
                         bankCustomer = customerEntity
diff --git a/sandbox/src/main/python/libeufin-cli 
b/sandbox/src/main/python/libeufin-cli
index a5b5b9b..eb1a387 100755
--- a/sandbox/src/main/python/libeufin-cli
+++ b/sandbox/src/main/python/libeufin-cli
@@ -65,7 +65,6 @@ def add_subscriber(sandbox_url, user_id, partner_id, host_id, 
name):
 
     print(resp.content.decode("utf-8"))
 
-
 @cli.group()
 def ebics():
     pass

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



reply via email to

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