fix(clips): remove redundant auth checks

This commit is contained in:
2026-07-01 23:19:51 +01:00
parent 76869c8c90
commit 3c8df9b328
3 changed files with 4 additions and 28 deletions

View File

@@ -66,9 +66,7 @@ public class ClipController {
@DeleteMapping("/{id}")
public ResponseEntity<APIResponse<String>> deleteClip(@PathVariable Long id) {
if (!clipService.deleteClip(id)) {
return ResponseEntity.notFound().build();
}
clipService.deleteClip(id);
return ResponseEntity.ok(
new APIResponse<>(