fix: clan images

This commit is contained in:
TrèsAbhi committed 2023-10-16 20:16:23 -05:00
1 parent 1317c2879c
commit 533bfc4458
7 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ async function render(
tankId: number | null,
) {
const accountInfo = await getAccountInfo(region, id);
const clan = (await getClanAccountInfo(region, id))?.clan;
const clan = (await getClanAccountInfo(region, id, ['clan']))?.clan;
const logo = clan ? emblemIdToURL(clan.emblem_set_id) : undefined;
const histories = await (type === 'player'
? getPlayerHistories(region, id, {