[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 01/03: indentation
From: |
gnunet |
Subject: |
[libeufin] 01/03: indentation |
Date: |
Mon, 20 Mar 2023 15:44:27 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit f0c83f821bbc418dcfc822f439e5a5b67b93d683
Author: ms <ms@taler.net>
AuthorDate: Mon Mar 20 15:43:33 2023 +0100
indentation
---
nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt | 12 ++++++++----
.../main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt
index f1c5114d..a7b51fd1 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Anastasis.kt
@@ -66,11 +66,15 @@ fun anastasisFilter(payment: NexusBankTransactionEntity,
txDtls: TransactionDeta
// Handle a /taler-wire-gateway/history/incoming request.
private suspend fun historyIncoming(call: ApplicationCall) {
val facadeId = expectNonNull(call.parameters["fcid"])
- call.request.requirePermission(PermissionQuery("facade", facadeId,
"facade.anastasis.history"))
+ call.request.requirePermission(
+ PermissionQuery(
+ "facade",
+ facadeId,
+ "facade.anastasis.history"
+ )
+ )
val param = call.expectUrlParameter("delta")
- val delta: Int = try {
- param.toInt()
- } catch (e: Exception) {
+ val delta: Int = try { param.toInt() } catch (e: Exception) {
throw EbicsProtocolError(HttpStatusCode.BadRequest, "'${param}' is not
Int")
}
val start: Long =
handleStartArgument(call.request.queryParameters["start"], delta)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
index dc69829a..058f944f 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
@@ -409,7 +409,7 @@ val nexusApp: Application.() -> Unit = {
requireSuperuser(call.request)
call.respond(
HttpStatusCode.OK,
- BankProtocolsResponse(listOf("ebics", "loopback"))
+ BankProtocolsResponse(listOf("ebics"))
)
return@get
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.