mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 21:13:16 +00:00
Merge pull request #992 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
5aadd0258a
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ class InternalApiController extends Controller
|
|||
'caption' => 'nullable|string',
|
||||
'media.*' => 'required',
|
||||
'media.*.id' => 'required|integer|min:1',
|
||||
'media.*.filter' => 'nullable|string|max:30',
|
||||
'media.*.filter' => 'nullable|alpha_dash|max:30',
|
||||
'media.*.license' => 'nullable|string|max:80',
|
||||
'visibility' => 'required|string|in:public,private|min:2|max:10'
|
||||
]);
|
||||
|
|
|
@ -112,7 +112,7 @@ class StatusController extends Controller
|
|||
'photo.*' => 'required|mimetypes:' . config('pixelfed.media_types').'|max:' . config('pixelfed.max_photo_size'),
|
||||
'caption' => 'nullable|string|max:'.config('pixelfed.max_caption_length'),
|
||||
'cw' => 'nullable|string',
|
||||
'filter_class' => 'nullable|string',
|
||||
'filter_class' => 'nullable|alpha_dash|max:30',
|
||||
'filter_name' => 'nullable|string',
|
||||
'visibility' => 'required|string|min:5|max:10',
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue