|
@@ -118,8 +118,8 @@ class VideoGroupController extends Controller {
|
|
public function addVideoInfo(Request $request){
|
|
public function addVideoInfo(Request $request){
|
|
$data = $request->only('video_group_id','post_id');
|
|
$data = $request->only('video_group_id','post_id');
|
|
$validator = Validator::make($data, [
|
|
$validator = Validator::make($data, [
|
|
- 'video_group_id' => 'required|integer|max:12',
|
|
|
|
- 'post_id' => 'required|integer|max:12',
|
|
|
|
|
|
+ 'video_group_id' => 'required|integer',
|
|
|
|
+ 'post_id' => 'required|integer',
|
|
]);
|
|
]);
|
|
if ($validator->fails()) {
|
|
if ($validator->fails()) {
|
|
return $this->response->error($validator->errors()->first(), 500);
|
|
return $this->response->error($validator->errors()->first(), 500);
|