feat: add profile image editing and update profile validation

This commit is contained in:
2026-08-22 08:15:01 +03:30
parent aea4d96693
commit b0bf4838ba
12 changed files with 556 additions and 28 deletions
@@ -54,6 +54,12 @@ class EditProfileUpdateRequest extends FormRequest
'nullable',
'exists:cities,id'
],
'avatar' => [
'nullable',
'image',
'mimes:jpeg,png,jpg,webp',
'max:800'
]
];
}