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