mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update CommentController
This commit is contained in:
parent
8c12151859
commit
591e50541e
1 changed files with 3 additions and 3 deletions
|
@ -35,9 +35,9 @@ class CommentController extends Controller
|
||||||
abort(403);
|
abort(403);
|
||||||
}
|
}
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'item' => 'required|integer',
|
'item' => 'required|integer',
|
||||||
'comment' => 'required|string|max:500',
|
'comment' => 'required|string|max:500',
|
||||||
]);
|
]);
|
||||||
$comment = $request->input('comment');
|
$comment = $request->input('comment');
|
||||||
$statusId = $request->item;
|
$statusId = $request->item;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue