mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
fix: last played is now correct in champions tab
This commit is contained in:
parent
2d5fc1a2ae
commit
22ff28d6a0
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class MatchRepository {
|
||||||
const groupParams = {
|
const groupParams = {
|
||||||
time: { $sum: "$time" },
|
time: { $sum: "$time" },
|
||||||
gameLength: { $avg: "$time" },
|
gameLength: { $avg: "$time" },
|
||||||
date: { $last: "$date" },
|
date: { $max: "$date" },
|
||||||
champion: { $first: "$champion" },
|
champion: { $first: "$champion" },
|
||||||
kills: { $sum: "$stats.kills" },
|
kills: { $sum: "$stats.kills" },
|
||||||
deaths: { $sum: "$stats.deaths" },
|
deaths: { $sum: "$stats.deaths" },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue