diff --git a/src/Radarr.Api.V3/History/HistoryController.cs b/src/Radarr.Api.V3/History/HistoryController.cs index 5550d0d83..37d9ffbdd 100644 --- a/src/Radarr.Api.V3/History/HistoryController.cs +++ b/src/Radarr.Api.V3/History/HistoryController.cs @@ -94,9 +94,8 @@ namespace Radarr.Api.V3.History return _historyService.GetByMovieId(movieId, eventType).Select(h => MapToResource(h, includeMovie)).ToList(); } - // v4 TODO: Getting the ID from the form is atypical, consider removing. - [HttpPost("failed")] - public object MarkAsFailed([FromBody] int id) + [HttpPost("failed/{id}")] + public object MarkAsFailed([FromRoute] int id) { _failedDownloadService.MarkAsFailed(id); return new object();