Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
colinhall17 committed Jun 23, 2020
1 parent c1a14b9 commit 105db5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/Requests/StoreRecurrence.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ class StoreRecurrence extends PersistResource
"type" => "nullable|integer|in:1,2,3",
"repeat_interval" => "nullable|integer",
"weekly_days" => "nullable|integer|in:1,2,3,4,5,6,7",
"monthly_day" => "nullabel|numeric|between:1,31",
"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",
"end_times" => "nullable|numeric|max:50|",//exclude_unless:end_date_time,null",
"end_date_time" => "nullable|date|",//exclude_unless:end_times,null"
"end_times" => "nullable|numeric|max:50|exclude_unless:end_date_time,null",
"end_date_time" => "nullable|date|exclude_unless:end_times,null",
];

}
4 changes: 2 additions & 2 deletions src/Requests/UpdateRecurrence.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ class UpdateRecurrence extends PersistResource
"type" => "nullable|integer|in:1,2,3",
"repeat_interval" => "nullable|integer",
"weekly_days" => "nullable|integer|in:1,2,3,4,5,6,7",
"monthly_day" => "nullabel|numeric|between:1,31",
"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",
"end_times" => "nullable|numeric|max:50|exclude_unless:end_date_time,null",
"end_date_time" => "nullable|date|exclude_unless:end_times,null"
];

}

0 comments on commit 105db5a

Please sign in to comment.