mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: oopsie forgot to push a fix
This commit is contained in:
parent
6f0beec0d2
commit
0b0aa48e69
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import MatchPlayer from 'App/Models/MatchPlayer'
|
||||
import MatchPlayerRank from 'App/Models/MatchPlayerRank'
|
||||
import { PlayerRankParsed, TeamPosition } from 'App/Parsers/ParsedType'
|
||||
import CDragonService from 'App/Services/CDragonService'
|
||||
import SummonerService from 'App/Services/SummonerService'
|
||||
|
|
@ -101,7 +102,7 @@ export default abstract class MatchSerializer {
|
|||
}
|
||||
}
|
||||
|
||||
protected getPlayerRank(rank: PlayerRankParsed) {
|
||||
protected getPlayerRank(rank: PlayerRankParsed | MatchPlayerRank) {
|
||||
return {
|
||||
tier: rank.tier,
|
||||
rank: rank.rank,
|
||||
|
|
|
|||
Loading…
Reference in a new issue