mining ledger troubleshooting

This commit is contained in:
2019-12-09 23:46:23 -06:00
parent 0204f19541
commit 3ca9dcbb88
2 changed files with 3 additions and 1 deletions

View File

@@ -90,6 +90,8 @@ class MoonLedgerController extends Controller
$lookup = new NewLookupHelper;
$mining = array();
dd($request);
//Check for the esi scope
if(!$esiHelper->HaveEsiScope(auth()->user()->getId(), 'esi-industry.read_corporation_mining.v1')) {
//If the scope check fails, return with a redirect and error message