bug fixes

This commit is contained in:
Michael Simard
2022-11-26 16:33:30 -06:00
parent 98a68d11ab
commit d4a67dffe6

View File

@@ -786,7 +786,7 @@ struct StatsController: RouteCollection {
group.enter() group.enter()
queue.async { queue.async {
vgCompetitive = self.getStatsWithMostRecentDailyRecord(sortedMatches: matches.filter({ (match) -> Bool in mw2Cometitive = self.getStatsWithMostRecentDailyRecord(sortedMatches: matches.filter({ (match) -> Bool in
return match.codGame == "mw2" && self.shouldCountMatch(match: match ) return match.codGame == "mw2" && self.shouldCountMatch(match: match )
})) }))