This commit is contained in:
2019-05-31 00:02:53 -05:00
parent 87f3e767e4
commit 722f034830
4 changed files with 36 additions and 34 deletions
@@ -61,7 +61,18 @@ class StructureHelper {
//Setup the ESI variable
$esi = new Eseye($authentication);
//Try to get the ESI data
try {
$structures = $esi->page($currentPage)
->invoke('get', '/corporations/{corporation_id}/structures/', [
'corporation_id' => $corpId,
]);
} catch (RequestFailedException $e) {
Log::critical("Failed to get structure list.");
return null;
}
return $structures;
}
public function ProcessStructure($structure) {