console command

This commit is contained in:
2018-11-22 01:27:25 -06:00
parent 574ae7f41e
commit 6bb4d540a1

View File

@@ -44,10 +44,10 @@ class corpJournal extends Command
//Setup the Finances Container
$finance = new Finances();
//Get the corps with structures logged in the database
//Get the characters that have the esi-wallet.read_corporation_wallets.v1
//esi wallet scope
$characters = DB::table('EsiScopes')->where('scopes', 'esi-wallet.read_corporation_wallets.v1')->get();
$characters = DB::table('EsiScopes')->where('scope', 'esi-wallet.read_corporation_wallets.v1')->get();
foreach($characters as $char) {
$finance->GetWalletJournal(1, $characters->character_id);