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

@@ -112,18 +112,15 @@ public class VodService {
* Deletes a VoD and its associated files from disk.
*
* @param id the ID of the VoD to delete
* @return {@code true} on success; always throws rather than returning {@code false}
* @throws VodNotFound if no VoD with {@code id} exists
* @throws NotAuthenticated if the current user does not own the VoD
*/
public boolean deleteVod(Long id) {
public void deleteVod(Long id) {
Vod vod = getVodById(id);
deleteVodFiles(vod);
vodRepository.delete(vod);
logger.info("Vod with ID {} deleted successfully", id);
return true;
}
/**