fix compile error

This commit is contained in:
Michael Simard
2021-01-22 11:24:44 -06:00
parent 2535e2817b
commit 3ae103acbb

View File

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