config for esi

This commit is contained in:
2018-11-13 22:47:41 -06:00
parent f95c1d6d61
commit b9fd36c006

View File

@@ -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;