Fixed: PendingRelese deletes wrong value on author delete

This commit is contained in:
Qstick committed 2021-01-28 23:43:19 -05:00
1 parent c8263fd856
commit 7cc9a67b74
1 file changed
+1 -1
@@ -20,7 +20,7 @@ public PendingReleaseRepository(IMainDatabase database, IEventAggregator eventAg
public void DeleteByAuthorId(int authorId)
{
Delete(authorId);
Delete(x => x.AuthorId == authorId);
}
public List<PendingRelease> AllByAuthorId(int authorId)