소스 검색

fix: corrige request de student

ebagabee 2 주 전
부모
커밋
df3482851e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Requests/StudentRequest.php

+ 1 - 1
app/Http/Requests/StudentRequest.php

@@ -9,7 +9,7 @@ class StudentRequest extends FormRequest
     public function rules(): array
     {
         $rules = [
-            'avatar'              => 'sometimes|nullable|image|max:2048',
+            'avatar'              => 'sometimes|nullable|image',
             'birth_date'          => 'sometimes|nullable|date',
             'document_number'     => 'sometimes|nullable|string|max:20',
             'gender'              => 'sometimes|nullable|string|in:no_preference,male,female,other',