From 430111f7acecb77f177ecc9bb17002f9003deb7b Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 6 Dec 2018 18:06:01 -0600 Subject: [PATCH] helper for console commands --- app/Console/Commands/Library/helper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Library/helper.php b/app/Console/Commands/Library/helper.php index 9a5d87cf7..fe3054f2b 100644 --- a/app/Console/Commands/Library/helper.php +++ b/app/Console/Commands/Library/helper.php @@ -15,7 +15,7 @@ class CommandHelper { public function __construct($name) { $this->job_name = $name; - $this->job_status = 'Starting'; + $this->job_state = 'Starting'; $this->system_time = Carbon::now(); } @@ -23,7 +23,7 @@ class CommandHelper { //Add an entry into the jobs table $job = new ScheduleJob; $job->job_name = $this->job_name; - $job->state = $this->job_state; + $job->job_state = $this->job_state; $job->system_time = $this->system_time; $job->save(); }