Update Api Controllers
This commit is contained in:
parent
0b3c3021f5
commit
1cff278f9e
2 changed files with 4 additions and 4 deletions
|
@ -277,7 +277,7 @@ class InternalApiController extends Controller
|
|||
public function composePost(Request $request)
|
||||
{
|
||||
$this->validate($request, [
|
||||
'caption' => 'nullable|string',
|
||||
'caption' => 'nullable|string|max:'.config('pixelfed.max_caption_length', 500),
|
||||
'media.*' => 'required',
|
||||
'media.*.id' => 'required|integer|min:1',
|
||||
'media.*.filter_class' => 'nullable|alpha_dash|max:30',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue