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
@@ -37,7 +37,7 @@ async function render(
filters: StatFilters,
) {
const { nickname } = await getAccountInfo(region, id);
const clan = (await getClanAccountInfo(region, id))?.clan;
const clan = (await getClanAccountInfo(region, id, ['clan']))?.clan;
const clanImage = clan ? emblemIdToURL(clan.emblem_set_id) : undefined;
const diffedTankStats = await getStatsInPeriod(region, id, start, end);
const { stats, supplementary, filteredOrder } = await filterStats(