mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix(roles): add RoleIdentification back
This commit is contained in:
parent
1a9555ebcb
commit
a2fdea3f17
2 changed files with 2 additions and 4 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue