mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-04-25 07:18:35 -05:00
Change NA region to "US" to match Nintendo's naming
This commit is contained in:
parent
866509a4d8
commit
c0a41a449d
|
|
@ -8,7 +8,7 @@ function updaters() {
|
|||
new StageScheduleUpdater,
|
||||
new GearUpdater,
|
||||
new CoopUpdater,
|
||||
new FestivalUpdater('NA'),
|
||||
new FestivalUpdater('US'),
|
||||
new FestivalUpdater('EU'),
|
||||
new FestivalUpdater('JP'),
|
||||
new FestivalUpdater('AP'),
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function initializeNxapi() {
|
|||
|
||||
export function regionTokens() {
|
||||
return {
|
||||
NA: process.env.NINTENDO_TOKEN_NA,
|
||||
US: process.env.NINTENDO_TOKEN_US,
|
||||
EU: process.env.NINTENDO_TOKEN_EU,
|
||||
JP: process.env.NINTENDO_TOKEN_JP,
|
||||
AP: process.env.NINTENDO_TOKEN_AP,
|
||||
|
|
@ -33,7 +33,7 @@ export default class NsoClient
|
|||
}
|
||||
|
||||
static make(region = null) {
|
||||
region ??= 'NA';
|
||||
region ??= 'US';
|
||||
let tokens = regionTokens();
|
||||
|
||||
if (!Object.keys(tokens).includes(region)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user