|
@@ -67,6 +67,7 @@ class PlatformContentController extends BaseController
|
|
$validator = Validator::make($request->all(), [
|
|
$validator = Validator::make($request->all(), [
|
|
'id' => 'required|exists:platform_content',
|
|
'id' => 'required|exists:platform_content',
|
|
'content' => 'required',
|
|
'content' => 'required',
|
|
|
|
+ 'title' => 'string',
|
|
]);
|
|
]);
|
|
|
|
|
|
if ($validator->fails()) {
|
|
if ($validator->fails()) {
|