diff --git a/Sources/App/Controllers/StatsController.swift b/Sources/App/Controllers/StatsController.swift index 8b7b8b8..765927c 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -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),