|
|
@@ -7,7 +7,7 @@ class DonateValidator extends BaseValidator
|
|
|
'id' => 'required',
|
|
|
'title' => 'required|string|min:1|max:20',
|
|
|
'phone' => 'required|string|min:1|max:20',
|
|
|
- 'stock' => 'required|string|min:1|max:10',
|
|
|
+ 'stock' => 'required|min:1|max:10',
|
|
|
'thumb' => 'required|string|min:2|max:250',
|
|
|
'description' => 'required|string|min:2|max:500',
|
|
|
];
|