Skip to content

Commit

Permalink
add missing fields to StoreScheduleRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 committed Dec 3, 2023
1 parent 8abf2d8 commit c284ff1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ public function rules(): array
return [
'name' => $rules['name'],
'is_active' => array_merge(['filled'], $rules['is_active']),
'only_when_online' => $rules['only_when_online'],
'minute' => $rules['cron_minute'],
'hour' => $rules['cron_hour'],
'day_of_month' => $rules['cron_day_of_month'],
'month' => $rules['cron_month'],
'day_of_week' => $rules['cron_day_of_week'],
];
}
Expand Down

0 comments on commit c284ff1

Please sign in to comment.