Skip to content

Commit

Permalink
feat: 사용자 조회, 이성 검색 페이지 사이즈 30으로 조정(#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Minjae-An committed May 18, 2024
1 parent b9bf015 commit 0eda80b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/main/java/yeonba/be/user/service/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void saveUserPreference(User user, UserJoinRequest request) {
public UserQueryPageResponse findUsersByQueryCondition(long userId, UserQueryRequest request) {

int page = Optional.ofNullable(request.getPage()).orElse(0);
int size = 6;
int size = 30;
PageRequest pageRequest = PageRequest.of(page, size);

// 사용자 존재 여부 검증
Expand Down Expand Up @@ -248,7 +248,7 @@ public UserQueryPageResponse findUsersBySearchCondition(long userId,
UserSearchRequest request) {

int page = Optional.ofNullable(request.getPage()).orElse(0);
int size = 6;
int size = 30;
PageRequest pageRequest = PageRequest.of(page, size);
LocalDate searchDay = LocalDate.now();

Expand Down

0 comments on commit 0eda80b

Please sign in to comment.