Use last history item in FailedDownloadService

This commit is contained in:
Bogdan 2024-01-09 01:24:34 +02:00
parent e405fc7cf9
commit a728f44a1e
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ namespace NzbDrone.Core.Download
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
{