esi update for observers
This commit is contained in:
@@ -93,7 +93,7 @@ class MiningTaxesObservers extends Command
|
|||||||
//Run through the mining observers, and add them to the database
|
//Run through the mining observers, and add them to the database
|
||||||
foreach($resp as $observer) {
|
foreach($resp as $observer) {
|
||||||
//Declare the structure helper
|
//Declare the structure helper
|
||||||
$sHelper = new StructureHelper($config['primary'], $config['corporation'], $refreshToken);
|
$sHelper = new StructureHelper($config['primary'], $config['corporation'], $esi);
|
||||||
|
|
||||||
//Get the structure name from the universe endpoint to store in the database
|
//Get the structure name from the universe endpoint to store in the database
|
||||||
$observerInfo = $sHelper->GetStructureInfo($observer->observer_id);
|
$observerInfo = $sHelper->GetStructureInfo($observer->observer_id);
|
||||||
|
|||||||
Reference in New Issue
Block a user