diff --git a/app/Library/Fleet.php b/app/Library/Fleet.php index 56111614a..b25627eb9 100644 --- a/app/Library/Fleet.php +++ b/app/Library/Fleet.php @@ -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;