fix: region

This commit is contained in:
TrèsAbhi committed 2024-09-01 19:12:32 -05:00
1 parent 2f10e68e98
commit 176eb1424d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export async function isValidBlitzId(id: number, token?: string) {
}
const json = await fetch(
`https://api.wotblitz.com/wotb/account/info/?account_id=${
`https://api.wotblitz.${region}/wotb/account/info/?account_id=${
id
}&application_id=${WARGAMING_APPLICATION_ID}${
token === undefined ? '' : `&access_token=${token}`