[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 02/03: add HEV to available messages to send
From: |
gnunet |
Subject: |
[libeufin] 02/03: add HEV to available messages to send |
Date: |
Tue, 12 May 2020 16:16:06 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit 85ffd4121387669dc5570231d2adb6ff40124eee
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue May 12 15:27:20 2020 +0200
add HEV to available messages to send
---
nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt | 5 ++++-
1 file changed, 4 insertions(+), 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 f038fee..234d239 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -83,6 +83,10 @@ suspend fun handleEbicsSendMSG(client: HttpClient,
subscriber: EbicsClientSubscr
request
)
}
+ "HEV" -> {
+ val request = makeEbicsHEVRequest(subscriber)
+ return client.postToBank(subscriber.ebicsUrl, request)
+ }
else -> throw NexusError(
HttpStatusCode.NotFound,
"Message $msg not found"
@@ -369,7 +373,6 @@ fun main() {
amount = "${it.currency}:${it.amount}"
)
)
-
}
}
return@get
--
To stop receiving notification emails like this one, please contact
address@hidden.