diff --git a/src/main/kotlin/controller/api/TagApiController.kt b/src/main/kotlin/controller/api/TagApiController.kt index 2c2621f..0388caf 100644 --- a/src/main/kotlin/controller/api/TagApiController.kt +++ b/src/main/kotlin/controller/api/TagApiController.kt @@ -67,4 +67,13 @@ tagService.deleteTagFromAudioList(slug, request) return ResponseEntity.ok(null) } + + @PutMapping("audio/{slug}") + fun updateAudioList( + @PathVariable("slug") slug: String, + @Valid @RequestBody request: TagAudioRequest + ): ResponseEntity { + tagService.updateTagAudioList(slug, request) + return ResponseEntity.ok(null) + } } \ No newline at end of file