Fixed: PendingRelese deletes wrong value on author delete

pull/770/head
Qstick 4 years ago
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)

Loading…
Cancel
Save