캐릭터 챗봇 #338
| @@ -30,7 +30,8 @@ data class AdminCharacterImageResponse( | ||||
|     val imagePriceCan: Long, | ||||
|     val messagePriceCan: Long, | ||||
|     val imageUrl: String, | ||||
|     val triggers: List<String> | ||||
|     val triggers: List<String>, | ||||
|     val isAdult: Boolean | ||||
| ) { | ||||
|     companion object { | ||||
|         fun fromWithUrl(entity: CharacterImage, signedUrl: String): AdminCharacterImageResponse { | ||||
| @@ -44,7 +45,8 @@ data class AdminCharacterImageResponse( | ||||
|                 imagePriceCan = entity.imagePriceCan, | ||||
|                 messagePriceCan = entity.messagePriceCan, | ||||
|                 imageUrl = url, | ||||
|                 triggers = entity.triggerMappings.map { it.tag.word } | ||||
|                 triggers = entity.triggerMappings.map { it.tag.word }, | ||||
|                 isAdult = entity.isAdult | ||||
|             ) | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user