docker file
This commit is contained in:
parent
d5ff4e81af
commit
7916e7f718
|
|
@ -14,6 +14,8 @@ class UpdateUserRequest extends FormRequest
|
|||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
'name' => ['sometimes', 'string', 'max:255'],
|
||||
'bio' => ['sometimes', 'nullable', 'string'],
|
||||
'avatar' => ['sometimes', 'nullable', 'image', 'max:2048'],
|
||||
'nutritionGoals' => ['sometimes', 'array'],
|
||||
'nutritionGoals.calories' => ['required_with:nutritionGoals', 'integer', 'min:0', 'max:100000'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue