401 errors

This commit is contained in:
2018-11-14 01:24:08 -06:00
parent f87440f7bd
commit 3cd214c60f

View File

@@ -104,12 +104,7 @@ class Fleet {
'secret' => 'TdnNGRM8RTNSifZdaIc9yHTTkYPgYEEXHRIbT6oY',
'refresh_token' => $token[0]->refresh_token,
]));
$esi->setAuthentication(new \Seat\Eseye\Containers\EsiAuthentication([
'client_id' => 'e5848fea3618427a8ee0dccb6a04fc62',
'secret' => 'TdnNGRM8RTNSifZdaIc9yHTTkYPgYEEXHRIbT6oY',
'refresh_token' => $token[0]->refresh_token,
]));
try {
//Setup the body of the esi message and perform the call
$esi->setBody(['character_id' => $charId,