[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: remove unneeded conversion
From: |
gnunet |
Subject: |
[libeufin] branch master updated: remove unneeded conversion |
Date: |
Sat, 11 Jan 2020 11:26:30 +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 10e5010 remove unneeded conversion
10e5010 is described below
commit 10e5010f4e647a562912e4d0a8b9d4d87d0f827f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Jan 11 11:26:23 2020 +0100
remove unneeded conversion
---
.../src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git
a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
index 69fa727..f497866 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/EbicsProtocolBackend.kt
@@ -118,7 +118,6 @@ private fun ApplicationCall.handleEbicsC52(header:
EbicsRequest.Header): ByteArr
val od = header.static.orderDetails ?: throw Exception("Need
'OrderDetails'")
val op = od.orderParams ?: throw Exception("Need 'StandardOrderParams'")
-
val subscriber = transaction {
EbicsSubscriberEntity.find {
stringParam(userId) eq EbicsSubscribersTable.userId // will have
to match partner and system IDs
@@ -153,9 +152,7 @@ private fun ApplicationCall.handleEbicsC52(header:
EbicsRequest.Header): ByteArr
}
}
}
-
- val str = XMLUtil.convertJaxbToString(ret)
- return str.toByteArray()
+ return ret.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: remove unneeded conversion,
gnunet <=