Skip to content

Commit

Permalink
[fix] 댓글전체 조회 시 댓글이 없으면 예외를 터트리지 않게 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chahyunsoo committed Aug 26, 2024
1 parent 984ef80 commit e09a19c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ public List<PostComment> getCommentListWithPostIdAndType(Long postId, String typ
default:
throw new InvalidValueException(_BAD_REQUEST);
}
if (comments.isEmpty()) {
throw new PostCommentException(POST_COMMENT_NOT_FOUND);
}
// if (comments.isEmpty()) {
// throw new PostCommentException(POST_COMMENT_NOT_FOUND);
// }
return comments;
}

Expand Down

0 comments on commit e09a19c

Please sign in to comment.