esi update for observers

This commit is contained in:
2021-03-21 21:40:25 +09:00
parent a2a9b31a25
commit 2cd41593a5

View File

@@ -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,