mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
fix: getClanInfo now uses clan_id
This commit is contained in:
1 parent
495a830506
commit
dfeb117663
1 file changed
+1
-1
@@ -41,7 +41,7 @@ export async function getClanInfo<
|
|||||||
ReturnType = Ids extends number ? IndividualClanInfo : IndividualClanInfo[],
|
ReturnType = Ids extends number ? IndividualClanInfo : IndividualClanInfo[],
|
||||||
>(region: Region, ids: Ids) {
|
>(region: Region, ids: Ids) {
|
||||||
const object = await fetchBlitz<ClanInfo>(
|
const object = await fetchBlitz<ClanInfo>(
|
||||||
`https://api.wotblitz.${region}/wotb/clans/info/?application_id=${WARGAMING_APPLICATION_ID}&account_id=${normalizeIds(
|
`https://api.wotblitz.${region}/wotb/clans/info/?application_id=${WARGAMING_APPLICATION_ID}&clan_id=${normalizeIds(
|
||||||
ids,
|
ids,
|
||||||
)}`,
|
)}`,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user