fix(roles): tmp fix while playrates CDN is broken

This commit is contained in:
Valentin Kaelin 2021-05-15 18:07:58 +02:00
parent 4172b5547c
commit 1a9555ebcb
2 changed files with 4 additions and 2 deletions

View file

@ -46,7 +46,8 @@ class BasicMatchTransformer extends MatchTransformer {
} }
// Roles // Roles
super.getMatchRoles(match, allyTeam, enemyTeam, player.teamId, playerData) // TODO: while CDN is broken : get Riot Roles
//super.getMatchRoles(match, allyTeam, enemyTeam, player.teamId, playerData)
return { return {
account_id: identity!.player.currentAccountId, account_id: identity!.player.currentAccountId,

View file

@ -84,7 +84,8 @@ class DetailedMatchTransformer extends MatchTransformer {
const secondTeam = this.getTeamData(match, match.teams[1]) const secondTeam = this.getTeamData(match, match.teams[1])
// Roles // Roles
super.getMatchRoles(match, firstTeam.players, secondTeam.players) // TODO: while CDN is broken : get Riot Roles
//super.getMatchRoles(match, firstTeam.players, secondTeam.players)
return { return {
gameId: match.gameId, gameId: match.gameId,