This commit is contained in:
2021-02-13 03:34:05 +09:00
parent 4eaab96848
commit 2212d34dd1

View File

@@ -108,7 +108,16 @@ class Esi {
'character_id' => $token->character_id,
])->get(['scope'])->toArray();
dd($scopesArr);
$i = 0;
foreach($scopesArr as $scp) {
$scopes .= $scp['scope'];
if($i < sizeof($scopesArr)) {
$scopes .= "%20";
}
$i++;
}
dd($scopes);
//Create string separated by %20 = space from the array of scopes
$scopes = implode(" ", $scopesArr);