Skip to content

Commit

Permalink
fix universe endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Slivo-fr committed Jan 15, 2018
1 parent b7a8416 commit 10a3327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Killbot.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private function getShipName($victimShipId) {
return $this->knownShips[$victimShipId];
}

$json = $this->curlRequest(Settings::$ESI_URL . "v1/universe/types/$victimShipId/");
$json = $this->curlRequest(Settings::$ESI_URL . "v3/universe/types/$victimShipId/");
$data = json_decode($json);

$shipName = $data->{'name'};
Expand Down

0 comments on commit 10a3327

Please sign in to comment.