libeufin

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

commit 40647acbbde6e27de50411e3a81e7d13b1a2408f
parent 971c113484a178482973438f2de39f544341d1ab
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Wed, 13 Nov 2019 17:11:04 +0100

Return 200 OK after parsing HTD response.

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

diff --git a/nexus/src/main/kotlin/Main.kt b/nexus/src/main/kotlin/Main.kt @@ -383,9 +383,10 @@ fun main() { throw EbicsError(response.value.body.returnCode.value) } - call.respond( - HttpStatusCode.NotImplemented, - SandboxError("Not implemented") + call.respondText( + "Success! Details (temporarily) reported on the Nexus console.", + ContentType.Text.Plain, + HttpStatusCode.OK ) }