From a0b6ade76d60aae77ea91695bcad4842534bd55f Mon Sep 17 00:00:00 2001 From: Hong0329 Date: Mon, 25 Nov 2024 19:32:08 +0900 Subject: [PATCH] fix comment page number --- .../WableServer/api/comment/service/CommentQueryService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WableServer/src/main/java/com/wable/www/WableServer/api/comment/service/CommentQueryService.java b/WableServer/src/main/java/com/wable/www/WableServer/api/comment/service/CommentQueryService.java index d330ca8..6cec528 100644 --- a/WableServer/src/main/java/com/wable/www/WableServer/api/comment/service/CommentQueryService.java +++ b/WableServer/src/main/java/com/wable/www/WableServer/api/comment/service/CommentQueryService.java @@ -176,7 +176,7 @@ public List getCommentAllByMemberWithBlind(Lo } public List getCommentsWithHierarchy(Long memberId, Long contentId, Long cursor) { - PageRequest pageRequest = PageRequest.of(0, COMMENT_DEFAULT_PAGE_SIZE); + PageRequest pageRequest = PageRequest.of(0, 10); Slice parentComments = commentRepository.findParentCommentsWithPaginationAfterCursor(cursor, contentId, pageRequest); // 결과 리스트 초기화