fix: remove tutorial games from repository queries

This commit is contained in:
Valentin Kaelin 2020-12-18 16:50:37 +01:00
parent 2d28475056
commit 69373c42ea

View file

@ -16,7 +16,7 @@ class MatchRepository {
return {
summoner_puuid: puuid,
result: { $not: { $eq: 'Remake' } },
gamemode: { $nin: [800, 810, 820, 830, 840, 850] },
gamemode: { $nin: [800, 810, 820, 830, 840, 850, 2000, 2010, 2020] },
season: season ? season : { $exists: true },
}
}