job status moved to before the delete portion

This commit is contained in:
2019-05-13 22:55:03 -05:00
parent 7775391308
commit 79323c2388
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -62,13 +62,13 @@ class ProcessWalletJournalJob implements ShouldQueue
$finance->GetWalletJournalPage($this->division, $this->charId, $this->page);
//After the job is completed, delete the job
$this->delete();
$status = new JobStatus;
$status->job_name = 'Process Wallet Journal';
$status->complete = true;
$status->save();
//After the job is completed, delete the job
$this->delete();
}
/**