Skip to content

Commit

Permalink
Reduce calcs
Browse files Browse the repository at this point in the history
  • Loading branch information
raimannma committed Dec 16, 2024
1 parent cb4222e commit 52d0091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deadlock_analytics_api/routers/v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ def get_hero_combs_win_loss_stats(
)
SELECT
hero_ids,
sum(team_wins) / length(hero_ids) AS wins,
sum(team_losses) / length(hero_ids) AS losses,
sum(team_wins) / 6 AS wins,
sum(team_losses) / 6 AS losses,
sum(kills) AS total_kills,
sum(deaths) AS total_deaths,
sum(assists) AS total_assists
Expand Down

0 comments on commit 52d0091

Please sign in to comment.