mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 07:45:22 +00:00
Update InternalApiController, increase license limit to 140 to match UI counter
This commit is contained in:
parent
e01dff45c5
commit
b3c18aecfd
1 changed files with 2 additions and 1 deletions
|
@ -237,7 +237,8 @@ class InternalApiController extends Controller
|
||||||
'media.*' => 'required',
|
'media.*' => 'required',
|
||||||
'media.*.id' => 'required|integer|min:1',
|
'media.*.id' => 'required|integer|min:1',
|
||||||
'media.*.filter_class' => 'nullable|alpha_dash|max:30',
|
'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',
|
'cw' => 'nullable|boolean',
|
||||||
'visibility' => 'required|string|in:public,private,unlisted|min:2|max:10',
|
'visibility' => 'required|string|in:public,private,unlisted|min:2|max:10',
|
||||||
'place' => 'nullable',
|
'place' => 'nullable',
|
||||||
|
|
Loading…
Reference in a new issue