mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-03 14:35:30 +00:00
Fixed: Mark as Failed errors
Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com> (cherry picked from commit a9792973eef960e8310a611cf1da2d2cada57532)
This commit is contained in:
@@ -99,8 +99,8 @@ namespace Readarr.Api.V1.History
|
||||
return _historyService.GetByAuthor(authorId, eventType).Select(h => MapToResource(h, includeAuthor, includeBook)).ToList();
|
||||
}
|
||||
|
||||
[HttpPost("failed")]
|
||||
public object MarkAsFailed([FromBody] int id)
|
||||
[HttpPost("failed/{id}")]
|
||||
public object MarkAsFailed([FromRoute] int id)
|
||||
{
|
||||
_failedDownloadService.MarkAsFailed(id);
|
||||
return new { };
|
||||
|
||||
Reference in New Issue
Block a user