gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix off-by-one


From: gnunet
Subject: [libeufin] branch master updated: fix off-by-one
Date: Wed, 15 Jun 2022 09:20:18 +0200

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 7621403a fix off-by-one
7621403a is described below

commit 7621403ad40a5b6a3725b01ce7c91b9dfa906b8c
Author: MS <ms@taler.net>
AuthorDate: Wed Jun 15 09:20:08 2022 +0200

    fix off-by-one
---
 sandbox/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
index 0fb6859e..f8d0dd9c 100644
--- 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>()

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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