diff --git a/app/Library/Esi/Esi.php b/app/Library/Esi/Esi.php index 67c027fbd..12666ffc1 100644 --- a/app/Library/Esi/Esi.php +++ b/app/Library/Esi/Esi.php @@ -106,7 +106,7 @@ class Esi { //Get the scopes to pass to the guzzle client $scopesArr = EsiScope::where([ 'character_id' => $token->character_id, - ])->get(['scope'])->toArray(); + ])->get(['scope']); dd($scopesArr); //Create string separated by %20 = space from the array of scopes