closure errors

This commit is contained in:
Michael Simard
2021-01-10 09:46:24 -06:00
parent f974477106
commit 83e99a8ae5

View File

@@ -600,9 +600,9 @@ struct StatsController: RouteCollection {
group.wait()
let mapStats = getMapStats(matches: matches)
let bestMap = getBestMap(records: mapStats)
let worstMap = getWorstMap(records: mapStats)
let mapStats = self.getMapStats(matches: matches)
let bestMap = self.getBestMap(records: mapStats)
let worstMap = self.getWorstMap(records: mapStats)
let dashboardItems = [
DashboardItem(title: "Overall", content: overallStats!.record, title2: "Ratio", content2: overallStats!.winLossRatio),