-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
…on to fail
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,9 @@ public function authorize() | |
public function rules() | ||
{ | ||
return [ | ||
'files' => 'required|array', | ||
'files.*' => 'required|file', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ruchernchong
|
||
'folder' => 'required', | ||
]; | ||
} | ||
|
||
} |
This breaks validation for Linux systems. Now I'm getting "Unprocessable entity" in the UI with the following message in the AJAX response:
I know very little about Windows, otherwise I'd offer a solution.