config for esi
This commit is contained in:
@@ -121,8 +121,7 @@ class Fleet {
|
||||
|
||||
private function HaveEsiScope($charId, $scope) {
|
||||
//Check for an esi scope
|
||||
$checks = DB::table('EsiScopes')->where('character_id')->get();
|
||||
dd($checks);
|
||||
$checks = DB::table('EsiScopes')->where('character_id', $charId)->get();
|
||||
foreach($checks as $check) {
|
||||
if($check->scope === $scope) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user