[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 02/09: 204 responses with less code.
From: |
gnunet |
Subject: |
[libeufin] 02/09: 204 responses with less code. |
Date: |
Fri, 20 Jan 2023 16:49:36 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit 1e1464497948747c59c3b0fcf859c257b6ea212e
Author: MS <ms@taler.net>
AuthorDate: Fri Jan 20 14:32:16 2023 +0100
204 responses with less code.
---
nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
index 66efe910..f14d5552 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Taler.kt
@@ -424,10 +424,7 @@ private suspend fun historyOutgoing(call: ApplicationCall)
{
}
}
if (history.outgoing_transactions.size == 0) {
- call.respondBytes(
- bytes = ByteArray(0),
- status = HttpStatusCode.NoContent
- )
+ call.respond(HttpStatusCode.NoContent)
return
}
call.respond(
@@ -476,10 +473,7 @@ private suspend fun historyIncoming(call: ApplicationCall)
{
}
}
if (history.incoming_transactions.size == 0) {
- call.respondBytes(
- bytes = ByteArray(0),
- status = HttpStatusCode.NoContent
- )
+ call.respond(HttpStatusCode.NoContent)
return
}
return call.respond(
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libeufin] branch master updated (048e0ada -> 45147878), gnunet, 2023/01/20
- [libeufin] 03/09: Circuit API., gnunet, 2023/01/20
- [libeufin] 02/09: 204 responses with less code.,
gnunet <=
- [libeufin] 04/09: testing the previous change, gnunet, 2023/01/20
- [libeufin] 08/09: Error management., gnunet, 2023/01/20
- [libeufin] 06/09: CLI, gnunet, 2023/01/20
- [libeufin] 07/09: adapt test, gnunet, 2023/01/20
- [libeufin] 01/09: CLI., gnunet, 2023/01/20
- [libeufin] 09/09: revert name change to match the docs, gnunet, 2023/01/20
- [libeufin] 05/09: Circuit API., gnunet, 2023/01/20