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();