mirror of
https://github.com/calli-eve/eve-pi.git
synced 2026-02-14 03:38:49 +01:00
fix types and api calls
This commit is contained in:
@@ -16,7 +16,7 @@ const StackItem = styled(Stack)(({ theme }) => ({
|
||||
const getPlanets = async (character: AccessToken): Promise<Planet[]> => {
|
||||
const api = new Api();
|
||||
const planets = (
|
||||
await api.characters.getCharactersCharacterIdPlanets(
|
||||
await api.v1.getCharactersCharacterIdPlanets(
|
||||
character.character.characterId,
|
||||
{
|
||||
token: character.access_token,
|
||||
|
||||
Reference in New Issue
Block a user