Update ApiController, oof

This commit is contained in:
Daniel Supernault 2019-10-01 22:31:29 -06:00
parent 8752d21301
commit 7c17c0e4ff
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -1431,7 +1431,7 @@ class ApiV1Controller extends Controller
abort_if(!$request->user(), 403); abort_if(!$request->user(), 403);
$this->validate($request, [ $this->validate($request, [
'page' => 'nullable|integer|min:1|max:40' 'page' => 'nullable|integer|min:1|max:40',
'limit' => 'nullable|integer|min:1|max:80' 'limit' => 'nullable|integer|min:1|max:80'
]); ]);
@ -1464,7 +1464,7 @@ class ApiV1Controller extends Controller
abort_if(!$request->user(), 403); abort_if(!$request->user(), 403);
$this->validate($request, [ $this->validate($request, [
'page' => 'nullable|integer|min:1|max:40' 'page' => 'nullable|integer|min:1|max:40',
'limit' => 'nullable|integer|min:1|max:80' 'limit' => 'nullable|integer|min:1|max:80'
]); ]);