Merge pull request 'test' (#360) from test into main

Reviewed-on: #360
This commit is contained in:
2025-11-13 20:49:12 +00:00
4 changed files with 7 additions and 7 deletions

View File

@@ -93,7 +93,7 @@ class ChatCharacterController(
name = it.name,
description = it.description,
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("description") val description: String,
@JsonProperty("imageUrl") val imageUrl: String,
@JsonProperty("isNew") val isNew: Boolean
@JsonProperty("isNew") val new: Boolean
)
data class RecentCharacter(

View File

@@ -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)
)
}

View File

@@ -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)
)
}
)