mirror of
https://github.com/Radarr/Radarr
synced 2025-12-24 17:23:26 +01:00
parent
5ce1829709
commit
13c03d9958
1 changed files with 2 additions and 3 deletions
|
|
@ -94,9 +94,8 @@ public List<HistoryResource> GetMovieHistory(int movieId, MovieHistoryEventType?
|
|||
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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue