from server
This commit is contained in:
parent
570ecad551
commit
18128a285a
|
|
@ -154,7 +154,7 @@ class ProductsAPIController extends Controller
|
||||||
'description_tm' => 'required',
|
'description_tm' => 'required',
|
||||||
'description_ru' => 'required',
|
'description_ru' => 'required',
|
||||||
'new_img' => 'array',
|
'new_img' => 'array',
|
||||||
'is_file' => 'required',m
|
'is_file' => 'required',
|
||||||
// allowed only jpg & png files with size <= 1024
|
// allowed only jpg & png files with size <= 1024
|
||||||
'new_img.*' => 'mimes:jpg,png|max:1024',
|
'new_img.*' => 'mimes:jpg,png|max:1024',
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue