Browse Source

chore: corrige unit file

ebagabee 2 weeks ago
parent
commit
8066446994
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Requests/UnitRequest.php

+ 1 - 0
app/Http/Requests/UnitRequest.php

@@ -49,6 +49,7 @@ public function rules(): array
             'partners.*.complement'     => 'nullable|string|max:255',
             'partners.*.city_id'        => 'nullable|integer|exists:cities,id',
             'partners.*.state_id'       => 'nullable|integer|exists:states,id',
+            'partners.*.avatar'         => 'nullable|image|max:2048',
         ];
 
         if ($isCreate) {