diff --git a/server-v2/app/Services/MatchService.ts b/server-v2/app/Services/MatchService.ts index 925769f..670a12d 100644 --- a/server-v2/app/Services/MatchService.ts +++ b/server-v2/app/Services/MatchService.ts @@ -21,7 +21,7 @@ class MatchService { let alreadyIn = false let index = 0 do { - let newMatchList = await Jax.Matchlist.puuid(account.puuid, region as string, index) + const newMatchList = await Jax.Matchlist.puuid(account.puuid, region, index) // Error while fetching Riot API if (!newMatchList) { return matchList diff --git a/server-v2/app/Services/MatchV4Service.ts b/server-v2/app/Services/MatchV4Service.ts index e01bc3f..7030fb1 100644 --- a/server-v2/app/Services/MatchV4Service.ts +++ b/server-v2/app/Services/MatchV4Service.ts @@ -29,8 +29,8 @@ class MatchService { index += 100 } while (!alreadyIn) - // Remove matches from MatchList made in another region, tutorial games + 3v3 games - const tutorialModes = [2000, 2010, 2020, 460, 470, 800, 810, 820] + // Remove matches from MatchList made in another region, tutorial games, 3v3 games, Coop vs IA games + const tutorialModes = [2000, 2010, 2020, 460, 470, 800, 810, 820, 830, 840, 850] matchList = matchList .filter((m) => { const sameRegion = m.platformId.toLowerCase() === region diff --git a/server-v2/config/database.ts b/server-v2/config/database.ts index 09cf7f6..4742f0e 100644 --- a/server-v2/config/database.ts +++ b/server-v2/config/database.ts @@ -47,7 +47,7 @@ const databaseConfig: DatabaseConfig = { naturalSort: true, }, healthCheck: true, - debug: true, + debug: false, }, }, }