캐릭터 챗봇 #338

Merged
klaus merged 119 commits from test into main 2025-09-10 06:08:47 +00:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit c8841856c0 - Show all commits

View File

@ -94,7 +94,9 @@ class AdminCharacterImageController(
@PathVariable imageId: Long, @PathVariable imageId: Long,
@RequestBody request: UpdateCharacterImageTriggersRequest @RequestBody request: UpdateCharacterImageTriggersRequest
) = run { ) = run {
imageService.updateTriggers(imageId, request.triggers ?: emptyList()) if (!request.triggers.isNullOrEmpty()) {
imageService.updateTriggers(imageId, request.triggers)
}
ApiResponse.ok(null) ApiResponse.ok(null)
} }