mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-27 12:39:49 +01:00
fix: region
This commit is contained in:
1 parent
2f10e68e98
commit
176eb1424d
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -145,7 +145,7 @@ export function VoteCaster() {
|
|||||||
>
|
>
|
||||||
{postVote === true && (
|
{postVote === true && (
|
||||||
<AlertDialog.Content maxWidth="20rem">
|
<AlertDialog.Content maxWidth="20rem">
|
||||||
<AlertDialog.Title>Vote cased</AlertDialog.Title>
|
<AlertDialog.Title>Vote casted</AlertDialog.Title>
|
||||||
<AlertDialog.Description>
|
<AlertDialog.Description>
|
||||||
It may take a few minutes for it to show up.
|
It may take a few minutes for it to show up.
|
||||||
</AlertDialog.Description>
|
</AlertDialog.Description>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ export async function isValidBlitzId(id: number, token?: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const json = await fetch(
|
const json = await fetch(
|
||||||
`https://api.wotblitz.com/wotb/account/info/?account_id=${
|
`https://api.wotblitz.${region}/wotb/account/info/?account_id=${
|
||||||
id
|
id
|
||||||
}&application_id=${WARGAMING_APPLICATION_ID}${
|
}&application_id=${WARGAMING_APPLICATION_ID}${
|
||||||
token === undefined ? '' : `&access_token=${token}`
|
token === undefined ? '' : `&access_token=${token}`
|
||||||
|
|||||||
Reference in new issue
Block a user