feat: wm8 and average tier calculation

This commit is contained in:
TresAbhi committed 2023-06-01 18:36:39 +00:00
1 parent c2fca42a86
commit a12f969251
15 files changed
+315 -328

No files matched your search

+2 -2
View File
@@ -47,8 +47,8 @@ export type TankHistory = TankHistoryNode[];
export default async function getTankStatsOverTime(
server: BlitzServer,
id: number,
start = -Infinity,
end = Infinity,
start: number,
end: number,
) {
const latestTankStatsRaw = await getWargamingResponse<TanksStats>(
`https://api.wotblitz.${server}/wotb/tanks/stats/?application_id=${args['wargaming-application-id']}&account_id=${id}`,