From dfeb1176636b3d7bdef094b189a472a20bf2ae68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Tue, 17 Oct 2023 22:04:27 -0500 Subject: [PATCH 1/3] fix: getClanInfo now uses clan_id --- src/core/blitz/getClanInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/blitz/getClanInfo.ts b/src/core/blitz/getClanInfo.ts index 625daca67..702ebea84 100644 --- a/src/core/blitz/getClanInfo.ts +++ b/src/core/blitz/getClanInfo.ts @@ -41,7 +41,7 @@ export async function getClanInfo< ReturnType = Ids extends number ? IndividualClanInfo : IndividualClanInfo[], >(region: Region, ids: Ids) { const object = await fetchBlitz( - `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, )}`, ); From c3d2a81327a5838f3958c32f048d38a0c62a9d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Tue, 17 Oct 2023 22:06:50 -0500 Subject: [PATCH 2/3] fix: generic stats name overflow --- .../GenericStats/components/GenericStatsRow.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/GenericStats/components/GenericStatsRow.tsx b/src/components/GenericStats/components/GenericStatsRow.tsx index 1a4e5c7a0..86adb931a 100644 --- a/src/components/GenericStats/components/GenericStatsRow.tsx +++ b/src/components/GenericStats/components/GenericStatsRow.tsx @@ -15,9 +15,18 @@ export default function GenericStatsRow({ stat }: GenericStatsRowProps) { alignItems: 'center', }} > - + {stat[0]} + Date: Tue, 17 Oct 2023 22:08:39 -0500 Subject: [PATCH 3/3] feat: changelogs --- docs/changelogs/1.14.2.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/changelogs/1.14.2.md diff --git a/docs/changelogs/1.14.2.md b/docs/changelogs/1.14.2.md new file mode 100644 index 000000000..aba20d8ee --- /dev/null +++ b/docs/changelogs/1.14.2.md @@ -0,0 +1,8 @@ +# Blitzkrieg 1.14.1 + +A late night hot fix for my homies + +## Fixes + +- Clan info is now fetched using `clan_id` instead of `account_id` +- Generic stats row names are now bounded by a max width