From 938846c9411f1f1a9ede851f0b886299ec62b959 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 14 Nov 2018 00:42:52 -0600 Subject: [PATCH] 401 errors --- app/Library/Fleet.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/Library/Fleet.php b/app/Library/Fleet.php index 3c91555f8..33071cc7a 100644 --- a/app/Library/Fleet.php +++ b/app/Library/Fleet.php @@ -100,16 +100,14 @@ class Fleet { $configuration->logfile_location = '/var/www/w4rpservices/storage/logs/eseye'; //Create the ESI Call Container $authentication = new EsiAuthentication([ - 'client_id' => env('ESI_CLIENT_ID'), - 'secret' => env('ESI_SECRET_KEY'), + 'client_id' => config('esi.client_id'), + 'secret' => config('esi.secret'), 'refresh_token' => $token[0]->refresh_token, ]); //Crate the ESI Class $esi = new Eseye($authentication); - - dd(config('esi')); try { //Setup the body of the esi message and perform the call $esi->setBody(['character_id' => $charId,