moons update command written

This commit is contained in:
2020-05-10 23:05:23 -05:00
parent cea92f1c70
commit 7a89b65b15
3 changed files with 41 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ class MoonLedgerController extends Controller
$charId = auth()->user()->getId();
//Check for the esi scope to be registered already
if(!$esiHelper->HaveEsiScope($charId, 'esi-industry.read_corporation_mining.v1') || !$esiHelper->HaveEsiScope($charId, 'Need to add scope for esi-universe.read_structures.v1')) {
if(!$esiHelper->HaveEsiScope($charId, 'esi-industry.read_corporation_mining.v1') || !$esiHelper->HaveEsiScope($charId, 'esi-universe.read_structures.v1')) {
return redirect('/dashboard')->with('error', 'Please register corporation mining and universe structures scopes before continuing.');
}