replaced actual character with characterId

This commit is contained in:
2019-05-29 21:29:16 -05:00
parent 5a245f9f36
commit 1923f3d2e1

View File

@@ -80,7 +80,7 @@ class GetStructuresCommand extends Command
//Setup the esi authentication container //Setup the esi authentication container
$config = config('esi'); $config = config('esi');
//Get the refresh token from the database //Get the refresh token from the database
$token = EsiToken::where(['character_id' => 93738489])->get(['refresh_token']); $token = EsiToken::where(['character_id' => $charId])->get(['refresh_token']);
$authentication = new EsiAuthentication([ $authentication = new EsiAuthentication([
'client_id' => $config['client_id'], 'client_id' => $config['client_id'],
'secret' => $config['secret'], 'secret' => $config['secret'],