From 83e99a8ae5353d8a2387251a5d4f821f2688ee63 Mon Sep 17 00:00:00 2001 From: Michael Simard Date: Sun, 10 Jan 2021 09:46:24 -0600 Subject: [PATCH] closure errors --- Sources/App/Controllers/StatsController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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),