크리에이터 관리자 카테고리 리스트

- 활성화된 것만 가져오도록 수정
This commit is contained in:
Klaus 2024-02-06 21:24:32 +09:00
parent 7bafb6ba0d
commit e3cf7fbfa0
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class CategoryQueryRepositoryImpl(private val queryFactory: JPAQueryFactory) : C
return queryFactory
.select(QGetCategoryListResponse(category.id, category.title))
.from(category)
.where(category.member.id.eq(creatorId))
.where(category.member.id.eq(creatorId).and(category.isActive.isTrue))
.fetch()
}
}