1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-23 22:25:14 -04:00

Fixed: Only blocklist pending releases when option is checked

(cherry picked from commit d11c691a7389d8984ddcbbd299d3192690719a1a)

Fixes #6730
Closes #6732
This commit is contained in:
bakerboy448
2021-11-17 09:54:01 -06:00
committed by Robin Dadswell
parent 2737937d37
commit 498d9086b5
+5 -1
View File
@@ -204,7 +204,11 @@ namespace Radarr.Api.V3.Queue
if (pendingRelease != null)
{
_blocklistService.Block(pendingRelease.RemoteMovie, "Pending release manually blocklisted");
if (blocklist)
{
_blocklistService.Block(pendingRelease.RemoteMovie, "Pending release manually blocklisted");
}
_pendingReleaseService.RemovePendingQueueItems(pendingRelease.Id);
return null;