mirror of
https://github.com/Readarr/Readarr
synced 2026-05-09 05:21:41 +02:00
Fixed: PendingRelese deletes wrong value on author delete
This commit is contained in:
parent
c8263fd856
commit
7cc9a67b74
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ public PendingReleaseRepository(IMainDatabase database, IEventAggregator eventAg
|
||||||
|
|
||||||
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…
Reference in a new issue