fix build error in 16f918616b

This commit is contained in:
Collin M. Barrett 2018-08-29 10:59:36 -05:00
parent f1a7e75f86
commit 4415d600fb

View file

@ -39,8 +39,7 @@ private async Task CleanupFailedSnapshots()
private async Task<IEnumerable<FilterListViewUrlDto>> GetListsToCapture(int batchSize) =>
await DbContext
.FilterLists
.Where(l => !l.CantSnapshot &&
!(l.ViewUrl.StartsWith(WaybackService.WaybackMachineUrlPrefix) &&
.Where(l => !(l.ViewUrl.StartsWith(WaybackService.WaybackMachineUrlPrefix) &&
l.Snapshots.Any(s => s.WasSuccessful)))
.OrderBy(l => l.Snapshots.Any())
.ThenBy(l => l.Snapshots