Skip to content

Commit

Permalink
fix comment page number
Browse files Browse the repository at this point in the history
  • Loading branch information
Hong0329 committed Nov 25, 2024
1 parent 965e12d commit a0b6ade
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public List<CommentAllByMemberResponseDtoVer3> getCommentAllByMemberWithBlind(Lo
}

public List<CommentAllResponseDtoVer4> getCommentsWithHierarchy(Long memberId, Long contentId, Long cursor) {
PageRequest pageRequest = PageRequest.of(0, COMMENT_DEFAULT_PAGE_SIZE);
PageRequest pageRequest = PageRequest.of(0, 10);
Slice<Comment> parentComments = commentRepository.findParentCommentsWithPaginationAfterCursor(cursor, contentId, pageRequest);

// 결과 리스트 초기화
Expand Down

0 comments on commit a0b6ade

Please sign in to comment.