401 errors

This commit is contained in:
2018-11-13 23:42:23 -06:00
parent f2637bd0d5
commit 8fe26fe652
+3 -1
View File
@@ -97,7 +97,7 @@ class Fleet {
// FileCache.
$configuration = Configuration::getInstance();
$configuration->cache = NullCache::class;
$configuration->logfile_location = '/var/www/w4rpservices/storage/eseye';
$configuration->logfile_location = '/var/www/w4rpservices/storage/logs/eseye';
//Create the ESI Call Container
$authentication = new EsiAuthentication([
'client_id' => env('ESI_CLIENT_ID'),
@@ -105,6 +105,8 @@ class Fleet {
'refresh_token' => $token[0]->refresh_token,
]);
dd(base64_encode(env('ESI_CLIENT_ID') . ':' . env('ESI_SECRET_KEY')));
//Crate the ESI Class
$esi = new Eseye($authentication);
try {