크리에이터 커뮤니티 #102
|
@ -38,6 +38,7 @@ class CreatorCommunityQueryRepositoryImpl(private val queryFactory: JPAQueryFact
|
|||
isAdult: Boolean
|
||||
): List<CreatorCommunity> {
|
||||
var where = creatorCommunity.member.id.eq(creatorId)
|
||||
.and(creatorCommunity.isActive.isTrue)
|
||||
|
||||
if (!isAdult) {
|
||||
where = where.and(creatorCommunity.isAdult.isFalse)
|
||||
|
|
Loading…
Reference in New Issue