@@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
@@ -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)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user