function fix

This commit is contained in:
2018-11-19 00:53:59 -06:00
parent 4732850e9a
commit 80fa93498f

View File

@@ -54,7 +54,7 @@ class FleetsController extends Controller
//Register a new instance of the fleet class
$fleet = new Fleet(Auth::user()->character_id);
$esiHelper = new Esi();
if(!$esiHelper->HaveEsiScope()) {
if(!$esiHelper->HaveEsiScope('esi-fleets.write_fleet.v1')) {
return view('inc.error')->with('error', 'User does not have the write fleet scope.');
}