diff --git a/app/Http/Controllers/Api/ScheduleController.php b/app/Http/Controllers/Api/ScheduleController.php index b3c9f73a..2838d295 100644 --- a/app/Http/Controllers/Api/ScheduleController.php +++ b/app/Http/Controllers/Api/ScheduleController.php @@ -69,7 +69,7 @@ class ScheduleController extends AbstractApiController try { $schedule = dispatch(new CreateScheduleCommand( Binput::get('name'), - Binput::get('message'), + Binput::get('message', null, false, false), Binput::get('status'), Binput::get('scheduled_at'), Binput::get('completed_at'), diff --git a/app/Http/Controllers/Dashboard/ScheduleController.php b/app/Http/Controllers/Dashboard/ScheduleController.php index cdf50c9f..f9dfd23b 100644 --- a/app/Http/Controllers/Dashboard/ScheduleController.php +++ b/app/Http/Controllers/Dashboard/ScheduleController.php @@ -83,7 +83,7 @@ class ScheduleController extends Controller try { dispatch(new CreateScheduleCommand( Binput::get('name'), - Binput::get('message'), + Binput::get('message', null, false, false), Binput::get('status', Schedule::UPCOMING), Binput::get('scheduled_at'), Binput::get('completed_at'),