fix: 캐릭터 리포지토리

- active -> isActive로 변경
This commit is contained in:
2025-08-07 16:52:41 +09:00
parent 0001697274
commit 206c25985a
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ class AdminChatCharacterService(
@Transactional(readOnly = true)
fun getActiveChatCharacters(pageable: Pageable, imageHost: String = ""): ChatCharacterListPageResponse {
// isActive가 true인 캐릭터만 조회
val page = chatCharacterRepository.findByActiveTrue(pageable)
val page = chatCharacterRepository.findByIsActiveTrue(pageable)
// 페이지 정보 생성
val content = page.content.map { ChatCharacterListResponse.from(it, imageHost) }