Skip to content

Commit

Permalink
- added endpoint "getCharacterClonesData()"
Browse files Browse the repository at this point in the history
  • Loading branch information
exodus4d committed Apr 19, 2019
1 parent bcde152 commit f961a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Client/ESI.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function getCharacterClonesData(int $characterId, string $accessToken) :
$response = $this->request('GET', $uri, $requestOptions)->getContents();

if(!$response->error){
$clonesData['homeLocation'] = (new Mapper\CharacterClone($response->home_location))->getData();
$clonesData['home'] = (new Mapper\CharacterClone($response->home_location))->getData();
}else{
$clonesData['error'] = $response->error;
}
Expand Down

0 comments on commit f961a0f

Please sign in to comment.