This commit is contained in:
2021-02-13 03:29:52 +09:00
parent 81978d524f
commit 15988c5588

View File

@@ -106,9 +106,8 @@ class Esi {
//Get the scopes to pass to the guzzle client
$scopesArr = EsiScope::where([
'character_id' => $token->character_id,
])->get(['scope']);
dd($scopesArr);
])->get(['scope'])->toArray();
//Create string separated by %20 = space from the array of scopes
$scopes = implode(" ", $scopesArr);
$scopes = str_replace(" ", "%20", $scopes);