From 2772b168e95e1617b761976cf379423360f7587a Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 14 Nov 2018 01:04:48 -0600 Subject: [PATCH] 401 errors --- app/Library/Fleet.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Library/Fleet.php b/app/Library/Fleet.php index 70635a168..b28db015a 100644 --- a/app/Library/Fleet.php +++ b/app/Library/Fleet.php @@ -105,6 +105,12 @@ class Fleet { 'refresh_token' => $token[0]->refresh_token, ]); + $esi = new \Seat\Eseye\Eseye(new \Seat\Eseye\Containers\EsiAuthentication([ + 'client_id' => config('esi.client_id'), + 'secret' => config('esi.secret'), + 'refresh_token' => $token[0]->refresh_token, + ])); + //Crate the ESI Class $esi = new Eseye($authentication);