From 6079ac8d49d6db72082fa7418a377f59d9fc905c Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 7 Aug 2024 17:15:40 -0700 Subject: [PATCH] fixup! Fixed: Marking queued item as failed not blocking the correct Torrent Info Hash --- src/NzbDrone.Core/Blocklisting/BlocklistService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Blocklisting/BlocklistService.cs b/src/NzbDrone.Core/Blocklisting/BlocklistService.cs index 28c33fd4c..573e47ff2 100644 --- a/src/NzbDrone.Core/Blocklisting/BlocklistService.cs +++ b/src/NzbDrone.Core/Blocklisting/BlocklistService.cs @@ -188,8 +188,8 @@ namespace NzbDrone.Core.Blocklisting Message = message.Message, Languages = message.Languages, TorrentInfoHash = message.TrackedDownload?.Protocol == DownloadProtocol.Torrent - ? message.TrackedDownload.DownloadItem.DownloadId - : message.Data.GetValueOrDefault("torrentInfoHash", null) + ? message.TrackedDownload.DownloadItem.DownloadId + : message.Data.GetValueOrDefault("torrentInfoHash", null) }; if (Enum.TryParse(message.Data.GetValueOrDefault("indexerFlags"), true, out IndexerFlags flags))