feat(latest-content-by-creator): 최신 콘텐츠 1개 조회시 오픈 되어 있는 콘텐츠만 조회하도록 수정

This commit is contained in:
2025-11-20 21:19:29 +09:00
parent 26eae4b06e
commit 9a58b7b95f

View File

@@ -1456,7 +1456,7 @@ class AudioContentQueryRepositoryImpl(
.and(audioContent.isActive.isTrue)
.and(audioContent.duration.isNotNull)
.and(audioContent.releaseDate.isNotNull)
.and(audioContent.releaseDate.gt(LocalDateTime.now()))
.and(audioContent.releaseDate.loe(LocalDateTime.now()))
if (!isAdult) {
where = where.and(audioContent.isAdult.isFalse)