fix inverted filter condition

pull/178/head
Chet Husk 2022-11-04 11:25:50 -05:00
parent c336005551
commit bed864549c
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public static class ShowsApi
.Select(x => new ShowDto(x))
.ToListAsync(cancellationToken);
var showsWithValidLinks =
shows.Where(show => !showClient.CheckLink(show.Link).Result).ToList();
shows.Where(show => showClient.CheckLink(show.Link).Result).ToList();
return TypedResults.Ok(showsWithValidLinks);
}