troubleshooting

This commit is contained in:
2018-12-24 12:19:33 -06:00
parent 8837646f44
commit e04f2dba70

View File

@@ -64,7 +64,7 @@ class CorpJournal extends Command
//Get the corps with structures logged in the database
$corps = CorpStructure::select('corporation_id')->groupBy('corporation_id')->get();
foreach($corps as $corp) {
$charId = CorpStructure::where(['corporation_id' => $corp->corporation_id])->get();
$charId = CorpStructure::where(['corporation_id' => $corp->corporation_id])->first();
$this->line($charId);
$finance->GetWalletJournal(1, $charId->character_id);
}