We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4eef30 commit 7caf587Copy full SHA for 7caf587
app/Http/Requests/CustomService/CustomServiceRequest.php
@@ -21,7 +21,7 @@ public function rules(): array
21
'title'=>['required','string','max:255'],
22
'description'=> ['required', 'string'],
23
'link'=> ['required', 'starts_with:https://,http://'],
24
- 'image'=> ['required','image', 'max:5124']
+ 'image'=> ['sometimes','required','image', 'max:5124']
25
];
26
}
27
0 commit comments