1
0
Fork 0
forked from mirror/pixelfed

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

This commit is contained in:
Daniel Supernault 2019-10-15 21:51:23 -06:00
parent e01dff45c5
commit b3c18aecfd
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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