From 948e35ae1245ff665851e1673b14f203bdc681c0 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Fri, 29 Jul 2022 23:57:41 +0200 Subject: [PATCH] change page index default --- src/main/java/com/covas/Resources/UsersRessources.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/covas/Resources/UsersRessources.java b/src/main/java/com/covas/Resources/UsersRessources.java index 92a4792..f2d9251 100644 --- a/src/main/java/com/covas/Resources/UsersRessources.java +++ b/src/main/java/com/covas/Resources/UsersRessources.java @@ -74,7 +74,7 @@ public class UsersRessources { nbPages = 20; } if(page == null){ - page = 1; + page = 0; } UUID kid = UUID.fromString(jwt.getClaim(Claims.kid)); UsersEntity user = UsersEntity.findById(kid);