fix: clan name and icon now show up with multi-tank

This commit is contained in:
TresAbhi committed 2023-08-22 23:49:00 +00:00
1 parent 038374e5aa
commit 3e956b34c1
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -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`,