mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: clan name and icon now show up with multi-tank
This commit is contained in:
1 parent
038374e5aa
commit
3e956b34c1
2 files changed
+2
-3
No files matched your search
@@ -45,7 +45,7 @@ export default async function stats<Type extends StatType>(
|
||||
let nameDiscriminator: string | undefined;
|
||||
let image: string | undefined;
|
||||
|
||||
if (type === 'player') {
|
||||
if (type === 'player' || type === 'multi-tank') {
|
||||
const clan = (
|
||||
await getWargamingResponse<PlayerClanData>(
|
||||
`https://api.wotblitz.${server}/wotb/clans/accountinfo/?application_id=${secrets.WARGAMING_APPLICATION_ID}&account_id=${id}&extra=clan`,
|
||||
|
||||
Reference in new issue
Block a user