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