Change NA region to "US" to match Nintendo's naming

This commit is contained in:
Matt Isenhower 2022-09-16 14:50:47 -07:00
parent 866509a4d8
commit c0a41a449d
2 changed files with 3 additions and 3 deletions

View File

@ -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'),

View File

@ -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)) {