mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixed some broken tests.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user