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) } }