structure job

This commit is contained in:
2019-05-29 21:57:27 -05:00
parent d1e7ed388f
commit e5292a1504

View File

@@ -58,7 +58,7 @@ class ProcessStructureJob implements ShouldQueue
//Setup the esi authentication container
$config = config('esi');
//Get the refresh token from the database
$token = EsiToken::where(['character_id' => $charId])->get(['refresh_token']);
$token = EsiToken::where(['character_id' => $this->charId])->get(['refresh_token']);
$authentication = new EsiAuthentication([
'client_id' => $config['client_id'],
'secret' => $config['secret'],