esi update for observers
This commit is contained in:
@@ -96,9 +96,8 @@ class MiningTaxesObservers extends Command
|
|||||||
$sHelper = new StructureHelper($config['primary'], $config['corporation']);
|
$sHelper = new StructureHelper($config['primary'], $config['corporation']);
|
||||||
|
|
||||||
//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);
|
$observerTemp = $sHelper->GetStructureInfo($observer->observer_id);
|
||||||
|
$observerInfo = json_decode($observerTemp, false);
|
||||||
dd($observerInfo);
|
|
||||||
|
|
||||||
Observer::updateOrInsert([
|
Observer::updateOrInsert([
|
||||||
'observer_id' => $observer->observer_id,
|
'observer_id' => $observer->observer_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user