mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
fixed some broken tests.
This commit is contained in:
parent
c1960525d7
commit
ba4950ea8f
32 changed files with 153 additions and 162 deletions
|
@ -19,7 +19,7 @@ namespace NzbDrone.Core.Instrumentation
|
|||
|
||||
public void Trim()
|
||||
{
|
||||
var oldIds = Queryable().Where(c => c.Time < DateTime.Now.AddDays(-30).Date).Select(c => c.Id);
|
||||
var oldIds = Query.Where(c => c.Time < DateTime.Now.AddDays(-30).Date).Select(c => c.Id);
|
||||
DeleteMany(oldIds);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue