fix: order of global stats

This commit is contained in:
Kalane 2021-09-19 21:39:13 +02:00
parent 027b6b2f3b
commit b1466c4063

View file

@ -34,9 +34,9 @@ class MatchRepository {
public async globalStats(puuid: string) { public async globalStats(puuid: string) {
const query = ` const query = `
SELECT SELECT
SUM(match_players.assists) as assists,
SUM(match_players.deaths) as deaths,
SUM(match_players.kills) as kills, SUM(match_players.kills) as kills,
SUM(match_players.deaths) as deaths,
SUM(match_players.assists) as assists,
SUM(match_players.minions) as minions, SUM(match_players.minions) as minions,
SUM(matches.game_duration) as time, SUM(matches.game_duration) as time,
SUM(match_players.vision_score) as vision, SUM(match_players.vision_score) as vision,