[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: fix return value and type
From: |
gnunet |
Subject: |
[libeufin] branch master updated: fix return value and type |
Date: |
Fri, 10 Jan 2020 14:52:59 +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 186df70 fix return value and type
186df70 is described below
commit 186df706e297c75c7813e25c4eed39d2f8cf27e4
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 10 14:52:52 2020 +0100
fix return value and type
---
.../main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index 642b3ce..c540615 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -111,7 +111,7 @@ private suspend fun
ApplicationCall.respondEbicsKeyManagement(
respondText(text, ContentType.Application.Xml, HttpStatusCode.OK)
}
-private fun ApplicationCall.handleEbicsC52(header: EbicsRequest.Header) {
+private fun ApplicationCall.handleEbicsC52(header: EbicsRequest.Header):
ByteArray {
val userId = header.static.userID!!
val od = header.static.orderDetails ?: throw Exception("Need
'OrderDetails'")
@@ -151,15 +151,12 @@ private fun ApplicationCall.handleEbicsC52(header:
EbicsRequest.Header) {
element("Acct") {
text("account identifier")
}
-
}
-
-
}
}
- // val str = XMLUtil.convertJaxbToString(ret)
- // return str.toByteArray()
+ val str = XMLUtil.convertJaxbToString(ret)
+ return str.toByteArray()
}
private suspend fun ApplicationCall.handleEbicsHia(header:
EbicsUnsecuredRequest.Header, orderData: ByteArray) {
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: fix return value and type,
gnunet <=