mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 06:23:18 +00:00
Update InternalApiController
This commit is contained in:
parent
0c6d0c3ca9
commit
6b8969516b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class InternalApiController extends Controller
|
||||||
'caption' => 'nullable|string',
|
'caption' => 'nullable|string',
|
||||||
'media.*' => 'required',
|
'media.*' => 'required',
|
||||||
'media.*.id' => 'required|integer|min:1',
|
'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',
|
'media.*.license' => 'nullable|string|max:80',
|
||||||
'visibility' => 'required|string|in:public,private|min:2|max:10'
|
'visibility' => 'required|string|in:public,private|min:2|max:10'
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue