diff --git a/src/main/kotlin/controller/api/TagApiController.kt b/src/main/kotlin/controller/api/TagApiController.kt index 0cd5369..2c2621f 100644 --- a/src/main/kotlin/controller/api/TagApiController.kt +++ b/src/main/kotlin/controller/api/TagApiController.kt @@ -42,6 +42,14 @@ return ResponseEntity.ok(null) } + @DeleteMapping("{slug}") + fun deleteTag( + @PathVariable("slug") slug: String + ): ResponseEntity { + tagService.deleteTag(slug) + return ResponseEntity.ok(null) + } + @PostMapping("audio/{slug}") fun addAudioList( @PathVariable("slug") slug: String,