diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/controller/ChatCharacterController.kt b/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/controller/ChatCharacterController.kt index 055f2f3..a27bdc8 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/controller/ChatCharacterController.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/controller/ChatCharacterController.kt @@ -93,7 +93,7 @@ class ChatCharacterController( name = it.name, description = it.description, imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", - isNew = false + new = false ) } ) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/service/ChatCharacterService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/service/ChatCharacterService.kt index 79eeacb..faec7b0 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/service/ChatCharacterService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/chat/character/service/ChatCharacterService.kt @@ -66,7 +66,7 @@ class ChatCharacterService( name = it.name, description = it.description, imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", - isNew = recentSet.contains(it.id) + new = recentSet.contains(it.id) ) } } @@ -102,7 +102,7 @@ class ChatCharacterService( name = it.name, description = it.description, imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", - isNew = recentSet.contains(it.id) + new = recentSet.contains(it.id) ) } } @@ -158,7 +158,7 @@ class ChatCharacterService( name = it.name, description = it.description, imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", - isNew = recentSet.contains(it.id) + new = recentSet.contains(it.id) ) } return RecentCharactersResponse( @@ -189,7 +189,7 @@ class ChatCharacterService( name = it.name, description = it.description, imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", - isNew = recentSet.contains(it.id) + new = recentSet.contains(it.id) ) } diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/chat/original/controller/OriginalWorkController.kt b/src/main/kotlin/kr/co/vividnext/sodalive/chat/original/controller/OriginalWorkController.kt index fab48a6..eb8cbfb 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/chat/original/controller/OriginalWorkController.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/chat/original/controller/OriginalWorkController.kt @@ -94,7 +94,7 @@ class OriginalWorkController( name = it.name, description = it.description, imageUrl = "$imageHost/$path", - isNew = recentSet.contains(it.id) + new = recentSet.contains(it.id) ) } )