From d54bb575ba57e9724a56d32926f5a8489a2667f1 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Sat, 13 Feb 2021 03:27:18 +0900 Subject: [PATCH] guzzle --- app/Library/Esi/Esi.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Library/Esi/Esi.php b/app/Library/Esi/Esi.php index 561510dd6..4d4c4d0dc 100644 --- a/app/Library/Esi/Esi.php +++ b/app/Library/Esi/Esi.php @@ -108,7 +108,8 @@ class Esi { 'character_id' => $token->character_id, ])->get()->toArray(); //Create string separated by %20 = space from the array of scopes - $scopes = implode('%20', $scopesArr); + $scopes = implode(" ", $scopesArr); + $scopes = str_replace(" ", "%20", $scopes); //Setup the new guzzle client $client = new Client();