Update InternalApiController

This commit is contained in:
Daniel Supernault 2019-03-08 01:21:12 -07:00
parent 0c6d0c3ca9
commit 6b8969516b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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'
]); ]);