fix(clips): remove redundant auth checks
This commit is contained in:
@@ -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<>(
|
||||
|
||||
Reference in New Issue
Block a user