feat: updated /evolution

This commit is contained in:
TrèsAbhi committed 2023-10-12 11:56:11 -05:00
1 parent 8c3675546f
commit bcd3a00f91
6 files changed
+107 -99

No files matched your search

@@ -3,7 +3,7 @@ import { WARGAMING_APPLICATION_ID } from '../../constants/wargamingApplicationID
import { PlayerClanInfo } from '../../types/playerClanData';
import getWargamingResponse from './getWargamingResponse';
export function playerClanInfo(region: Region, id: number) {
export function getPlayerClanInfo(region: Region, id: number) {
return getWargamingResponse<PlayerClanInfo>(
`https://api.wotblitz.${region}/wotb/clans/accountinfo/?application_id=${WARGAMING_APPLICATION_ID}&account_id=${id}&extra=clan`,
);