fix compile error
This commit is contained in:
@@ -155,7 +155,7 @@ struct StatsController: RouteCollection {
|
|||||||
|
|
||||||
|
|
||||||
return Match.query(on: req.db).filter(\.$date > startDate!).all().map { (matches) -> (Stats) in
|
return Match.query(on: req.db).filter(\.$date > startDate!).all().map { (matches) -> (Stats) in
|
||||||
return getStats(matches: matches)
|
return self.getStats(matches: matches)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user