This commit is contained in:
2021-02-13 02:45:29 +09:00
parent 6d7864751f
commit 6fcf9eba4a

View File

@@ -105,7 +105,7 @@ class Esi {
if($currentTime > $token_expiration) {
//Setup the new guzzle client
$guzzle = new Client();
$response = $client->request('POST', 'https://login.eveonline.com/v2/oauth/token', [
$response = $guzzle->request('POST', 'https://login.eveonline.com/v2/oauth/token', [
'Content-Type' => 'application/x-www-form-urlencoded',
'Host' => 'login.eveonline.com',
'Authorization' => base64_encode("Basic " . $config['client_id'] . ":" . $config['secret']),