커뮤니티 게시물 조회 API - 활성화 된 게시물만 불러오기
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user