mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: remove remake games from stats
This commit is contained in:
parent
f138db27a5
commit
980e58fe57
1 changed files with 10 additions and 5 deletions
|
|
@ -17,7 +17,8 @@ class MatchRepository {
|
|||
return this.Match.query().aggregate([
|
||||
{
|
||||
$match: {
|
||||
summoner_puuid: puuid
|
||||
summoner_puuid: puuid,
|
||||
result: { $not: { $eq: 'Remake' } }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -47,7 +48,8 @@ class MatchRepository {
|
|||
return this.Match.query().aggregate([
|
||||
{
|
||||
$match: {
|
||||
summoner_puuid: puuid
|
||||
summoner_puuid: puuid,
|
||||
result: { $not: { $eq: 'Remake' } }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -77,7 +79,8 @@ class MatchRepository {
|
|||
return this.Match.query().aggregate([
|
||||
{
|
||||
$match: {
|
||||
summoner_puuid: puuid
|
||||
summoner_puuid: puuid,
|
||||
result: { $not: { $eq: 'Remake' } }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -115,7 +118,8 @@ class MatchRepository {
|
|||
{
|
||||
$match: {
|
||||
summoner_puuid: puuid,
|
||||
role: { $not: { $eq: 'NONE' } }
|
||||
role: { $not: { $eq: 'NONE' } },
|
||||
result: { $not: { $eq: 'Remake' } }
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -154,7 +158,8 @@ class MatchRepository {
|
|||
return this.Match.query().aggregate([
|
||||
{
|
||||
$match: {
|
||||
summoner_puuid: puuid
|
||||
summoner_puuid: puuid,
|
||||
result: { $not: { $eq: 'Remake' } }
|
||||
}
|
||||
},
|
||||
{ $unwind: "$allyTeam" },
|
||||
|
|
|
|||
Loading…
Reference in a new issue