Merge pull request '콘텐츠 상세 - 댓글 수 로직 답글 포함하지 않도록 수정' (#40) from test into main

Reviewed-on: #40
This commit is contained in:
klaus 2023-10-05 02:49:22 +00:00
commit 3fae40fbef
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ class AudioContentCommentQueryRepositoryImpl(
.from(audioContentComment) .from(audioContentComment)
.where( .where(
audioContentComment.audioContent.id.eq(contentId) audioContentComment.audioContent.id.eq(contentId)
.and(audioContentComment.parent.isNull)
.and(audioContentComment.isActive.isTrue) .and(audioContentComment.isActive.isTrue)
) )
.fetch() .fetch()