esi update for observers

This commit is contained in:
2021-03-21 21:52:40 +09:00
parent 5a68c84430
commit 69892f4a6e

View File

@@ -96,9 +96,7 @@ 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
$observerTemp = $sHelper->GetStructureInfo($observer->observer_id); $observerInfo = $sHelper->GetStructureInfo($observer->observer_id);
dd($observerTemp);
$observerInfo = json_decode($observerTemp->raw, false);
Observer::updateOrInsert([ Observer::updateOrInsert([
'observer_id' => $observer->observer_id, 'observer_id' => $observer->observer_id,