Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
Change weekly_days to string from integer
  • Loading branch information
colinhall17 committed Sep 7, 2020
1 parent e827ea3 commit 00c41a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Requests/StoreRecurrence.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/Requests/UpdateRecurrence.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 00c41a1

Please sign in to comment.