Compare commits

...

3 Commits

Author SHA1 Message Date
1a660088de Merge pull request 'test' (#360) from test into main
Reviewed-on: #360
2025-11-13 20:49:12 +00:00
04e7c90407 fix(character): isNew -> new로 변경 2025-11-14 05:39:56 +09:00
f278497526 fix(character): isNew -> new로 변경 2025-11-14 05:37:24 +09:00
4 changed files with 7 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ class ChatCharacterController(
name = it.name, name = it.name,
description = it.description, description = it.description,
imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}",
isNew = false new = false
) )
} }
) )

View File

@@ -22,7 +22,7 @@ data class Character(
@JsonProperty("name") val name: String, @JsonProperty("name") val name: String,
@JsonProperty("description") val description: String, @JsonProperty("description") val description: String,
@JsonProperty("imageUrl") val imageUrl: String, @JsonProperty("imageUrl") val imageUrl: String,
@JsonProperty("isNew") val isNew: Boolean @JsonProperty("isNew") val new: Boolean
) )
data class RecentCharacter( data class RecentCharacter(

View File

@@ -66,7 +66,7 @@ class ChatCharacterService(
name = it.name, name = it.name,
description = it.description, description = it.description,
imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", 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, name = it.name,
description = it.description, description = it.description,
imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", 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, name = it.name,
description = it.description, description = it.description,
imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}",
isNew = recentSet.contains(it.id) new = recentSet.contains(it.id)
) )
} }
return RecentCharactersResponse( return RecentCharactersResponse(
@@ -189,7 +189,7 @@ class ChatCharacterService(
name = it.name, name = it.name,
description = it.description, description = it.description,
imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}", imageUrl = "$imageHost/${it.imagePath ?: "profile/default-profile.png"}",
isNew = recentSet.contains(it.id) new = recentSet.contains(it.id)
) )
} }

View File

@@ -94,7 +94,7 @@ class OriginalWorkController(
name = it.name, name = it.name,
description = it.description, description = it.description,
imageUrl = "$imageHost/$path", imageUrl = "$imageHost/$path",
isNew = recentSet.contains(it.id) new = recentSet.contains(it.id)
) )
} }
) )