libeufin

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

commit 7621403ad40a5b6a3725b01ce7c91b9dfa906b8c
parent 82f72ab7098c6086183cf69af6ca634ba625fdbb
Author: MS <ms@taler.net>
Date:   Wed, 15 Jun 2022 09:20:08 +0200

fix off-by-one

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -1403,7 +1403,7 @@ val sandboxApp: Application.() -> Unit = { "Cannot access bank account ${bankAccount.label}" ) - val page: Int = Integer.decode(call.request.queryParameters["page"] ?: "1") + val page: Int = Integer.decode(call.request.queryParameters["page"] ?: "0") val size: Int = Integer.decode(call.request.queryParameters["size"] ?: "5") val ret = mutableListOf<RawPayment>()