simplify GetListsToCapture()

This commit is contained in:
Collin M. Barrett 2018-08-25 08:32:57 -05:00
parent 6413e66d8c
commit 4db5fab4be

View file

@ -39,10 +39,7 @@ await DbContext
.Select(s => s.CreatedDateUtc)
.OrderByDescending(d => d)
.First() < yesterday &&
!l.Snapshots
.First()
.FilterList
.ViewUrl
!l.ViewUrl
.StartsWith(WaybackService.WaybackMachineUrlPrefix)))
.OrderBy(l => l.Snapshots.Any())
.ThenBy(l => l.Snapshots