← All changes
|
app/Http/Requests/ProductDownloadable/ProductDownloadableBulkFileRequest.php
+1
-2
1.4.1
→
1.6.5
View file →
| @@ -19,9 +19,9 @@ | ||
| 19 | 19 | 'downloadable_files.*.type' => 'required|sanitizeText|maxLength:100', |
| 20 | 20 | 'downloadable_files.*.driver' => 'required|sanitizeText|maxLength:60', |
| 21 | 21 | 'downloadable_files.*.file_name' => 'required|sanitizeText|maxLength:185', |
| 22 | 22 | 'downloadable_files.*.file_path' => 'required|sanitizeText|maxLength:185', |
| 23 | - 'downloadable_files.*.file_url' => 'required|sanitizeText|maxLength:200', | |
| 23 | + 'downloadable_files.*.file_url' => 'nullable|sanitizeText|maxLength:200', | |
| 24 | 24 | 'downloadable_files.*.settings.download_limit' => 'nullable|numeric', |
| 25 | 25 | 'downloadable_files.*.settings.download_expiry' => 'nullable|numeric', |
| 26 | 26 | ]; |
| 27 | 27 | } |
| @@ -37,9 +37,8 @@ | ||
| 37 | 37 | 'downloadable_files.*.type.required' => esc_html__('Type is required.', 'fluent-cart'), |
| 38 | 38 | 'downloadable_files.*.driver.required' => esc_html__('Driver is required.', 'fluent-cart'), |
| 39 | 39 | 'downloadable_files.*.file_name.required' => esc_html__('File Name is required.', 'fluent-cart'), |
| 40 | 40 | 'downloadable_files.*.file_path.required' => esc_html__('File Path is required.', 'fluent-cart'), |
| 41 | - 'downloadable_files.*.file_url.required' => esc_html__('File URL is required.', 'fluent-cart'), | |
| 42 | 41 | ]; |
| 43 | 42 | } |
| 44 | 43 | |
| 45 | 44 | |