Quellcode durchsuchen

chore: altera restricao de 2mb para 10mb em avatar para unidade

ebagabee vor 1 Monat
Ursprung
Commit
46409639c2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/Http/Requests/UnitRequest.php

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

@@ -27,7 +27,7 @@ public function rules(): array
             'secondary_email'   => 'sometimes|nullable|email|max:255',
             'phone_number'      => 'sometimes|required|string|max:20',
             'cell_number'       => 'sometimes|nullable|string|max:20',
-            'avatar'                    => 'sometimes|nullable|image|max:2048',
+            'avatar'                    => 'sometimes|nullable|image|max:10240',
             'contracts'                 => 'sometimes|nullable|array',
             'contracts.*'               => 'file|mimes:pdf|max:10240',