fix(roles): add RoleIdentification back

This commit is contained in:
Valentin Kaelin 2021-05-19 19:31:20 +02:00
parent 1a9555ebcb
commit a2fdea3f17
2 changed files with 2 additions and 4 deletions

View file

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

View file

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