Skip to content

Commit

Permalink
fix(request): date start validation rule (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
txsoura authored May 28, 2021
1 parent fc14d18 commit 974fac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Requests/QueryParamsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function rules(): array
'page' => 'sometimes|required|numeric|min:1',
'take' => 'sometimes|required|numeric|min:1',
'date_column' => 'sometimes|required|string',
'date_start' => 'sometimes|required|date:before_or_equal:date_end',
'date_start' => 'sometimes|required|date:|before_or_equal:date_end',
'date_end' => 'sometimes|required|date|after_or_equal:date_start',
'value_column' => 'sometimes|required|string',
'value_min' => 'sometimes|required|numeric|ite:value_max',
Expand Down

0 comments on commit 974fac3

Please sign in to comment.