mirror of
https://github.com/Readarr/Readarr
synced 2026-01-01 05:03:13 +01:00
Use last history item in FailedDownloadService
This commit is contained in:
parent
8effba383d
commit
622b02c478
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ public void ProcessFailed(TrackedDownload trackedDownload)
|
|||
|
||||
private void PublishDownloadFailedEvent(List<EntityHistory> historyItems, string message, TrackedDownload trackedDownload = null, bool skipRedownload = false)
|
||||
{
|
||||
var historyItem = historyItems.First();
|
||||
var historyItem = historyItems.Last();
|
||||
|
||||
var downloadFailedEvent = new DownloadFailedEvent
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue