diff --git a/src/main/java/treehouse/server/api/comment/business/CommentService.java b/src/main/java/treehouse/server/api/comment/business/CommentService.java index 83968ca..50e9199 100644 --- a/src/main/java/treehouse/server/api/comment/business/CommentService.java +++ b/src/main/java/treehouse/server/api/comment/business/CommentService.java @@ -97,7 +97,7 @@ public CommentResponseDTO.CommentListDto getCommentResponseList(User user, Long Member member = memberQueryAdapter.findByUserAndTreehouse(user, treehouse); List branches = branchQueryAdapter.findAllByTreeHouse(treehouse); - Pageable pageable = PageRequest.of(page, 10, Sort.by(Sort.Direction.DESC, "createdAt")); + Pageable pageable = PageRequest.of(page, 10, Sort.by(Sort.Direction.ASC, "createdAt")); // List commentListByPostId = commentQueryAdapter.getCommentListByPostId(postId, pageable); List commentListByPostId = commentQueryAdapter.getParentCommentListByPostId(postId, pageable);