fix: last played is now correct in champions tab

This commit is contained in:
Valentin Kaelin 2020-01-08 17:49:14 +01:00
parent 2d5fc1a2ae
commit 22ff28d6a0

View file

@ -90,7 +90,7 @@ class MatchRepository {
const groupParams = {
time: { $sum: "$time" },
gameLength: { $avg: "$time" },
date: { $last: "$date" },
date: { $max: "$date" },
champion: { $first: "$champion" },
kills: { $sum: "$stats.kills" },
deaths: { $sum: "$stats.deaths" },