diff --git a/src/Radarr.Api.V3/Calendar/CalendarController.cs b/src/Radarr.Api.V3/Calendar/CalendarController.cs index e1316b20f3..196193d911 100644 --- a/src/Radarr.Api.V3/Calendar/CalendarController.cs +++ b/src/Radarr.Api.V3/Calendar/CalendarController.cs @@ -37,7 +37,7 @@ public CalendarController(IBroadcastSignalRMessage signalR, } [NonAction] - protected override MovieResource GetResourceById(int id) + public override ActionResult GetResourceByIdWithErrorHandler(int id) { throw new NotImplementedException(); } diff --git a/src/Radarr.Api.V3/Health/HealthController.cs b/src/Radarr.Api.V3/Health/HealthController.cs index 0becdcb083..16f06b8c8c 100644 --- a/src/Radarr.Api.V3/Health/HealthController.cs +++ b/src/Radarr.Api.V3/Health/HealthController.cs @@ -23,6 +23,11 @@ public HealthController(IBroadcastSignalRMessage signalRBroadcaster, IHealthChec } [NonAction] + public override ActionResult GetResourceByIdWithErrorHandler(int id) + { + return base.GetResourceByIdWithErrorHandler(id); + } + protected override HealthResource GetResourceById(int id) { throw new NotImplementedException(); diff --git a/src/Radarr.Api.V3/Indexers/ReleaseControllerBase.cs b/src/Radarr.Api.V3/Indexers/ReleaseControllerBase.cs index 5372f194f4..623c005834 100644 --- a/src/Radarr.Api.V3/Indexers/ReleaseControllerBase.cs +++ b/src/Radarr.Api.V3/Indexers/ReleaseControllerBase.cs @@ -17,6 +17,11 @@ public ReleaseControllerBase(IQualityProfileService qualityProfileService) } [NonAction] + public override ActionResult GetResourceByIdWithErrorHandler(int id) + { + return base.GetResourceByIdWithErrorHandler(id); + } + protected override ReleaseResource GetResourceById(int id) { throw new NotImplementedException(); diff --git a/src/Radarr.Api.V3/Movies/MovieImportController.cs b/src/Radarr.Api.V3/Movies/MovieImportController.cs index f49941bd83..c7078288d6 100644 --- a/src/Radarr.Api.V3/Movies/MovieImportController.cs +++ b/src/Radarr.Api.V3/Movies/MovieImportController.cs @@ -18,6 +18,11 @@ public MovieImportController(IAddMovieService addMovieService) } [NonAction] + public override ActionResult GetResourceByIdWithErrorHandler(int id) + { + throw new NotImplementedException(); + } + protected override MovieResource GetResourceById(int id) { throw new NotImplementedException(); diff --git a/src/Radarr.Api.V3/Movies/MovieLookupController.cs b/src/Radarr.Api.V3/Movies/MovieLookupController.cs index 8a8c82498d..079b9ecf5c 100644 --- a/src/Radarr.Api.V3/Movies/MovieLookupController.cs +++ b/src/Radarr.Api.V3/Movies/MovieLookupController.cs @@ -39,6 +39,11 @@ public MovieLookupController(ISearchForNewMovie searchProxy, } [NonAction] + public override ActionResult GetResourceByIdWithErrorHandler(int id) + { + throw new NotImplementedException(); + } + protected override MovieResource GetResourceById(int id) { throw new NotImplementedException(); diff --git a/src/Radarr.Api.V3/Queue/QueueController.cs b/src/Radarr.Api.V3/Queue/QueueController.cs index 2be7ce5bbc..ef5cc3a152 100644 --- a/src/Radarr.Api.V3/Queue/QueueController.cs +++ b/src/Radarr.Api.V3/Queue/QueueController.cs @@ -60,6 +60,11 @@ public QueueController(IBroadcastSignalRMessage broadcastSignalRMessage, } [NonAction] + public override ActionResult GetResourceByIdWithErrorHandler(int id) + { + return base.GetResourceByIdWithErrorHandler(id); + } + protected override QueueResource GetResourceById(int id) { throw new NotImplementedException(); diff --git a/src/Radarr.Api.V3/Queue/QueueDetailsController.cs b/src/Radarr.Api.V3/Queue/QueueDetailsController.cs index 2f0fb52ebb..370109335b 100644 --- a/src/Radarr.Api.V3/Queue/QueueDetailsController.cs +++ b/src/Radarr.Api.V3/Queue/QueueDetailsController.cs @@ -27,6 +27,11 @@ public QueueDetailsController(IBroadcastSignalRMessage broadcastSignalRMessage, } [NonAction] + public override ActionResult GetResourceByIdWithErrorHandler(int id) + { + return base.GetResourceByIdWithErrorHandler(id); + } + protected override QueueResource GetResourceById(int id) { throw new NotImplementedException(); diff --git a/src/Radarr.Api.V3/Queue/QueueStatusController.cs b/src/Radarr.Api.V3/Queue/QueueStatusController.cs index 695e8611cc..5cf8690377 100644 --- a/src/Radarr.Api.V3/Queue/QueueStatusController.cs +++ b/src/Radarr.Api.V3/Queue/QueueStatusController.cs @@ -31,6 +31,11 @@ public QueueStatusController(IBroadcastSignalRMessage broadcastSignalRMessage, I } [NonAction] + public override ActionResult GetResourceByIdWithErrorHandler(int id) + { + return base.GetResourceByIdWithErrorHandler(id); + } + protected override QueueStatusResource GetResourceById(int id) { throw new NotImplementedException(); diff --git a/src/Radarr.Api.V3/Wanted/CutoffController.cs b/src/Radarr.Api.V3/Wanted/CutoffController.cs index f430767963..4b8162cd9f 100644 --- a/src/Radarr.Api.V3/Wanted/CutoffController.cs +++ b/src/Radarr.Api.V3/Wanted/CutoffController.cs @@ -33,7 +33,7 @@ public CutoffController(IMovieCutoffService movieCutoffService, } [NonAction] - protected override MovieResource GetResourceById(int id) + public override ActionResult GetResourceByIdWithErrorHandler(int id) { throw new NotImplementedException(); } diff --git a/src/Radarr.Api.V3/Wanted/MissingController.cs b/src/Radarr.Api.V3/Wanted/MissingController.cs index 953725782c..6f50752875 100644 --- a/src/Radarr.Api.V3/Wanted/MissingController.cs +++ b/src/Radarr.Api.V3/Wanted/MissingController.cs @@ -29,7 +29,7 @@ public MissingController(IMovieService movieService, } [NonAction] - protected override MovieResource GetResourceById(int id) + public override ActionResult GetResourceByIdWithErrorHandler(int id) { throw new NotImplementedException(); } diff --git a/src/Radarr.Http/REST/RestController.cs b/src/Radarr.Http/REST/RestController.cs index 3ca4388c68..38d9f5e789 100644 --- a/src/Radarr.Http/REST/RestController.cs +++ b/src/Radarr.Http/REST/RestController.cs @@ -40,7 +40,7 @@ protected RestController() } [RestGetById] - public ActionResult GetResourceByIdWithErrorHandler(int id) + public virtual ActionResult GetResourceByIdWithErrorHandler(int id) { try {