config for esi

This commit is contained in:
2018-11-13 22:46:18 -06:00
parent eb795dafd8
commit f95c1d6d61
+1
View File
@@ -122,6 +122,7 @@ class Fleet {
private function HaveEsiScope($charId, $scope) {
//Check for an esi scope
$checks = DB::table('EsiScopes')->where('character_id')->get();
dd($checks);
foreach($checks as $check) {
if($check->scope === $scope) {
return true;