simplify GetListsToCapture()

This commit is contained in:
Collin Barrett 2018-08-25 08:32:57 -05:00
parent 81f472b180
commit 3dcb62b841

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