Browse Source

fix: corrige request de student

ebagabee 2 tuần trước cách đây
mục cha
commit
df3482851e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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',