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