This commit is contained in:
2021-02-13 02:44:57 +09:00
parent 153588738d
commit 6d7864751f

View File

@@ -104,7 +104,7 @@ class Esi {
//If the access token has expired, we need to do a request for a new access token //If the access token has expired, we need to do a request for a new access token
if($currentTime > $token_expiration) { if($currentTime > $token_expiration) {
//Setup the new guzzle client //Setup the new guzzle client
$guzzle = new GuzzleHttp\Client(); $guzzle = new Client();
$response = $client->request('POST', 'https://login.eveonline.com/v2/oauth/token', [ $response = $client->request('POST', 'https://login.eveonline.com/v2/oauth/token', [
'Content-Type' => 'application/x-www-form-urlencoded', 'Content-Type' => 'application/x-www-form-urlencoded',
'Host' => 'login.eveonline.com', 'Host' => 'login.eveonline.com',