duqinya hace 5 años
padre
commit
e33ecb015f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Http/Controllers/V2/PlatformContentController.php

+ 1 - 0
app/Http/Controllers/V2/PlatformContentController.php

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