Fixed: PendingRelese deletes wrong value on author delete

This commit is contained in:
Qstick
2021-01-28 23:16:12 -05:00
parent c8263fd856
commit 7cc9a67b74
@@ -20,7 +20,7 @@ namespace NzbDrone.Core.Download.Pending
public void DeleteByAuthorId(int authorId) public void DeleteByAuthorId(int authorId)
{ {
Delete(authorId); Delete(x => x.AuthorId == authorId);
} }
public List<PendingRelease> AllByAuthorId(int authorId) public List<PendingRelease> AllByAuthorId(int authorId)