diff --git a/app/Http/Controllers/WebsiteController.php b/app/Http/Controllers/WebsiteController.php index 41da64a..9ca0d14 100644 --- a/app/Http/Controllers/WebsiteController.php +++ b/app/Http/Controllers/WebsiteController.php @@ -100,7 +100,7 @@ public function store(Request $request) 'uptime_enabled' => 'boolean', 'uptime_keyword' => 'required_if:uptime_enabled,1', 'cron_enabled' => 'boolean', - 'cron_keyword' => 'required_if:cron_enabled,1', + 'cron_key' => 'required_if:cron_enabled,1', ]); $this->panel->beforeSave(function ($data) use ($request) { @@ -160,7 +160,7 @@ public function update(Request $request, Website $website) 'uptime_enabled' => 'boolean', 'uptime_keyword' => 'required_if:uptime_enabled,1', 'cron_enabled' => 'boolean', - 'cron_keyword' => 'required_if:cron_enabled,1', + 'cron_key' => 'required_if:cron_enabled,1', ]); $this->panel->setEntry($website);