Skip to content

Commit da461ca

Browse files
committed
Fix
1 parent f8c8737 commit da461ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rest/service/player.service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ order by score desc`;
186186
where plr."playerId" = $1
187187
group by plr."playerId", p.hidden_mmr)
188188
select p.steam_id,
189-
p.wins,
189+
p.any_wins,
190190
p.games,
191191
p.any_games,
192192
p.any_wins,
@@ -200,7 +200,7 @@ select p.steam_id,
200200
from cte p
201201
inner join player_in_match pim on pim."playerId" = p.steam_id
202202
inner join finished_match m on pim."matchId" = m.id
203-
group by p.steam_id, p.recent_ranked_games, p.mmr, p.games, p.wins, p.any_games, p.bot_wins`,
203+
group by p.steam_id, p.recent_ranked_games, p.mmr, p.games, p.wins, p.any_games, p.any_wins`,
204204
[steam_id, MatchmakingMode.RANKED, MatchmakingMode.UNRANKED],
205205
);
206206

0 commit comments

Comments
 (0)