From 3ae103acbb8d68cc5c758d34285a15dcefc1fdd8 Mon Sep 17 00:00:00 2001 From: Michael Simard Date: Fri, 22 Jan 2021 11:24:44 -0600 Subject: [PATCH] fix compile error --- 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 7a6c389..398fee5 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -155,7 +155,7 @@ struct StatsController: RouteCollection { return Match.query(on: req.db).filter(\.$date > startDate!).all().map { (matches) -> (Stats) in - return getStats(matches: matches) + return self.getStats(matches: matches) } }