Skip to content

Commit 7caf587

Browse files
committed
fix custom service req
1 parent b4eef30 commit 7caf587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Requests/CustomService/CustomServiceRequest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function rules(): array
2121
'title'=>['required','string','max:255'],
2222
'description'=> ['required', 'string'],
2323
'link'=> ['required', 'starts_with:https://,http://'],
24-
'image'=> ['required','image', 'max:5124']
24+
'image'=> ['sometimes','required','image', 'max:5124']
2525
];
2626
}
2727
}

0 commit comments

Comments
 (0)