From 00c41a186e3b81c6235a0d8450f9e134bd0cc116 Mon Sep 17 00:00:00 2001 From: Colin Hall Date: Mon, 7 Sep 2020 15:42:42 +0100 Subject: [PATCH] Bug fix Change weekly_days to string from integer --- src/Requests/StoreRecurrence.php | 2 +- src/Requests/UpdateRecurrence.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Requests/StoreRecurrence.php b/src/Requests/StoreRecurrence.php index c7f495b..04c4c4b 100644 --- a/src/Requests/StoreRecurrence.php +++ b/src/Requests/StoreRecurrence.php @@ -10,7 +10,7 @@ class StoreRecurrence extends PersistResource protected $persistAttributes = [ "type" => "nullable|integer|in:1,2,3", "repeat_interval" => "nullable|integer", - "weekly_days" => "nullable|integer|in:1,2,3,4,5,6,7", + "weekly_days" => "nullable|string", "monthly_day" => "nullable|numeric|between:1,31", "monthly_week" => "nullable|numeric|in:-1,1,2,3,4", "monthly_week_day" => "nullable|integer|in:1,2,3,4,5,6,7", diff --git a/src/Requests/UpdateRecurrence.php b/src/Requests/UpdateRecurrence.php index 808a9ec..304f227 100644 --- a/src/Requests/UpdateRecurrence.php +++ b/src/Requests/UpdateRecurrence.php @@ -10,7 +10,7 @@ class UpdateRecurrence extends PersistResource protected $persistAttributes = [ "type" => "nullable|integer|in:1,2,3", "repeat_interval" => "nullable|integer", - "weekly_days" => "nullable|integer|in:1,2,3,4,5,6,7", + "weekly_days" => "nullable|string", "monthly_day" => "nullable|numeric|between:1,31", "monthly_week" => "nullable|numeric|in:-1,1,2,3,4", "monthly_week_day" => "nullable|integer|in:1,2,3,4,5,6,7",