From 64f4f89f2d9171fab4f9b49afe9ad8ab9a4c247f Mon Sep 17 00:00:00 2001 From: Michael Simard Date: Fri, 26 Feb 2021 18:42:05 -0600 Subject: [PATCH] tweaks --- Sources/App/Controllers/StatsController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/App/Controllers/StatsController.swift b/Sources/App/Controllers/StatsController.swift index 7afe41f..36e440b 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -590,7 +590,7 @@ struct StatsController: RouteCollection { group.enter() queue.async { - overallFourPlayers = self.getAllMatchesByPlayerCount(matches: matches.filter{$0.date > Date(timeIntervalSince1970: 1612159200)}, playerCount: 4) + overallFourPlayers = self.getAllMatchesByPlayerCount(matches: matches, playerCount: 4) //Feb 1 21 group.leave() }