libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit b8a428ce9541d9ede965183ea447d266ad217aad
parent da30321ef33d65af3d7d3b3a6f875c4268a64bc0
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Thu,  7 Nov 2019 12:29:33 +0100

fix english

Diffstat:
Mnexus/src/main/kotlin/Main.kt | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nexus/src/main/kotlin/Main.kt b/nexus/src/main/kotlin/Main.kt @@ -182,7 +182,7 @@ fun main() { post("/ebics/subscribers/{id}/sendIni") { - val id = expectId(call.parameters["id"]) + val id = expectId(call.parameters["id"]) // caught above val iniRequest = EbicsUnsecuredRequest() val url = transaction { @@ -251,7 +251,7 @@ fun main() { return@post } - val responseJaxb = XMLUtil.convertStringToJaxb<EbicsKeyManagementResponse>(response) + val responseJaxb = XMLUtil.convertStringToJaxb<EbicsKeyManagementResponse>(response) // caught above val returnCode = responseJaxb.value.body.returnCode.value if (returnCode == "000000") { call.respond( @@ -263,7 +263,7 @@ fun main() { call.respond( HttpStatusCode.OK, - NexusError("Sandbox did not accepted the key. Error code: ${returnCode}") + NexusError("Sandbox did not accept the key. Error code: ${returnCode}") ) return@post }