From 7cc9a67b742678f28b0f1ade5fe6aa4591f5fe8a Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 28 Jan 2021 23:16:12 -0500 Subject: [PATCH] Fixed: PendingRelese deletes wrong value on author delete --- src/NzbDrone.Core/Download/Pending/PendingReleaseRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Download/Pending/PendingReleaseRepository.cs b/src/NzbDrone.Core/Download/Pending/PendingReleaseRepository.cs index d8dc2af4b..1f25ade99 100644 --- a/src/NzbDrone.Core/Download/Pending/PendingReleaseRepository.cs +++ b/src/NzbDrone.Core/Download/Pending/PendingReleaseRepository.cs @@ -20,7 +20,7 @@ namespace NzbDrone.Core.Download.Pending public void DeleteByAuthorId(int authorId) { - Delete(authorId); + Delete(x => x.AuthorId == authorId); } public List AllByAuthorId(int authorId)