some formatting fixes
This commit is contained in:
@@ -278,7 +278,7 @@ func GetMetaStats(dbPlayer *ent.Player) (*MetaStatsResponse, error) {
|
||||
pMatches, err := s.QueryMatches().
|
||||
Select(match.FieldID, match.FieldMatchResult, match.FieldMap).
|
||||
Where(match.IDIn(matchIDs...)).
|
||||
WithStats().
|
||||
WithStats(). // TODO: limit fields returned
|
||||
Where(match.HasStatsWith(matchplayer.Or(matchplayer.PlayerStats(dbPlayer.ID), matchplayer.PlayerStats(s.ID)))).
|
||||
All(context.Background())
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user