esi update for observers

This commit is contained in:
2021-03-21 21:36:43 +09:00
parent c2d06472e3
commit e39bcab748

View File

@@ -93,7 +93,7 @@ class MiningTaxesObservers extends Command
//Run through the mining observers, and add them to the database
foreach($resp as $observer) {
//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
$observerInfo = $sHelper->GetStructureInfo($observer->observer_id);