크리에이터 커뮤니티 #102

Merged
klaus merged 18 commits from test into main 2023-12-21 15:10:56 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit e48fcc9d25 - Show all commits

View File

@ -38,6 +38,7 @@ class CreatorCommunityQueryRepositoryImpl(private val queryFactory: JPAQueryFact
isAdult: Boolean isAdult: Boolean
): List<CreatorCommunity> { ): List<CreatorCommunity> {
var where = creatorCommunity.member.id.eq(creatorId) var where = creatorCommunity.member.id.eq(creatorId)
.and(creatorCommunity.isActive.isTrue)
if (!isAdult) { if (!isAdult) {
where = where.and(creatorCommunity.isAdult.isFalse) where = where.and(creatorCommunity.isAdult.isFalse)