Update CommentController

This commit is contained in:
Daniel Supernault 2018-12-21 12:51:52 -07:00
parent 8c12151859
commit 591e50541e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -35,9 +35,9 @@ class CommentController extends Controller
abort(403);
}
$this->validate($request, [
'item' => 'required|integer',
'comment' => 'required|string|max:500',
]);
'item' => 'required|integer',
'comment' => 'required|string|max:500',
]);
$comment = $request->input('comment');
$statusId = $request->item;