commit 99677ee7a7c3733dcf0cf792bae1f5976f723fd6
parent 9eaee8c372609ae962a6e2c8e44c9b4faae65443
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 24 Jan 2020 23:18:14 +0100
hostID mandatory
Diffstat:
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
@@ -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
@@ -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