From 1923f3d2e1bab271eacb7b02a5b94337aceb5eb0 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 29 May 2019 21:29:16 -0500 Subject: [PATCH] replaced actual character with characterId --- app/Console/Commands/GetStructures.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/GetStructures.php b/app/Console/Commands/GetStructures.php index cdbe10ac4..a45f35549 100644 --- a/app/Console/Commands/GetStructures.php +++ b/app/Console/Commands/GetStructures.php @@ -80,7 +80,7 @@ class GetStructuresCommand extends Command //Setup the esi authentication container $config = config('esi'); //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([ 'client_id' => $config['client_id'], 'secret' => $config['secret'],