fetch moon observers job

This commit is contained in:
2020-05-27 01:20:24 -05:00
parent 419f529a29
commit 9fe4b47349

View File

@@ -76,6 +76,9 @@ class FetchMoonObserverJob implements ShouldQueue
//Get the esi variable //Get the esi variable
$esi = $esiHelper->SetupEsiAuthentication($refreshToken); $esi = $esiHelper->SetupEsiAuthentication($refreshToken);
//With the lookup helper, get the character information
$character = $lookup->GetCharacterInfo($this->charId);
//Get the mining observers for the corporation's from esi //Get the mining observers for the corporation's from esi
try { try {
$responses = $esi->invoke('get', '/corporation/{corporation_id}/mining/observers/', [ $responses = $esi->invoke('get', '/corporation/{corporation_id}/mining/observers/', [