From 6fcf9eba4a3645ce193865d85ddb68a9a8e9f207 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 13 Feb 2021 02:45:29 +0900 Subject: [PATCH] guzzle --- app/Library/Esi/Esi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Library/Esi/Esi.php b/app/Library/Esi/Esi.php index 2d1aac849..9399e4fb1 100644 --- a/app/Library/Esi/Esi.php +++ b/app/Library/Esi/Esi.php @@ -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']),