mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: Oceania part of sea riot region
This commit is contained in:
parent
5e4c4cea93
commit
e8ccdff859
1 changed files with 3 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ export enum RiotRegion {
|
|||
AMERICAS = 'americas',
|
||||
ASIA = 'asia',
|
||||
EUROPE = 'europe',
|
||||
SEA = 'sea',
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -37,8 +38,9 @@ export function getRiotRegion(region: string): RiotRegion {
|
|||
case LeagueRegion.BRAZIL:
|
||||
case LeagueRegion.LATIN_AMERICA_NORTH:
|
||||
case LeagueRegion.LATIN_AMERICA_SOUTH:
|
||||
case LeagueRegion.OCEANIA:
|
||||
return RiotRegion.AMERICAS
|
||||
case LeagueRegion.OCEANIA:
|
||||
return RiotRegion.SEA
|
||||
case LeagueRegion.KOREA:
|
||||
case LeagueRegion.JAPAN:
|
||||
return RiotRegion.ASIA
|
||||
|
|
|
|||
Loading…
Reference in a new issue