Преглед на файлове

Update InternalApiController, increase license limit to 140 to match UI counter

Daniel Supernault преди 5 години
родител
ревизия
b3c18aecfd
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      app/Http/Controllers/InternalApiController.php

+ 2 - 1
app/Http/Controllers/InternalApiController.php

@@ -237,7 +237,8 @@ class InternalApiController extends Controller
             'media.*'   => 'required',
             'media.*.id' => 'required|integer|min:1',
             'media.*.filter_class' => 'nullable|alpha_dash|max:30',
-            'media.*.license' => 'nullable|string|max:80',
+            'media.*.license' => 'nullable|string|max:140',
+            'media.*.alt' => 'nullable|string|max:140',
             'cw' => 'nullable|boolean',
             'visibility' => 'required|string|in:public,private,unlisted|min:2|max:10',
             'place' => 'nullable',