gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: avoid using "error type" in a 200 OK r


From: gnunet
Subject: [libeufin] branch master updated: avoid using "error type" in a 200 OK response
Date: Mon, 09 Mar 2020 14:46:03 +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 a2f8038  avoid using "error type" in a 200 OK response
a2f8038 is described below

commit a2f80383b1d6a48eeea05caf259a6016d0caeb8c
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Mar 9 14:45:30 2020 +0100

    avoid using "error type" in a 200 OK response
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt | 2 +-
 1 file changed, 1 insertion(+), 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 5055c38..f4737c0 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -497,7 +497,7 @@ fun main() {
                 val pain001data = call.receive<Pain001Data>()
                 createPain001entry(pain001data, acctid)
 
-                call.respond(NexusErrorJson("Payment instructions persisted in 
DB"))
+                call.respondText("Payment instructions persisted in DB", 
ContentType.Text.Plain, HttpStatusCode.OK)
                 return@post
             }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]