1
0
Эх сурвалжийг харах

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

Daniel Supernault 5 жил өмнө
parent
commit
b3c18aecfd

+ 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',