change page index default

This commit is contained in:
Valentin CZERYBA 2022-07-29 23:57:41 +02:00
parent 9bd03daf0e
commit 948e35ae12

View File

@ -74,7 +74,7 @@ public class UsersRessources {
nbPages = 20; nbPages = 20;
} }
if(page == null){ if(page == null){
page = 1; page = 0;
} }
UUID kid = UUID.fromString(jwt.getClaim(Claims.kid)); UUID kid = UUID.fromString(jwt.getClaim(Claims.kid));
UsersEntity user = UsersEntity.findById(kid); UsersEntity user = UsersEntity.findById(kid);