mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update ApiV1Controller, increase max limit on timelines
This commit is contained in:
parent
1c02afb1a1
commit
df22f2e4b0
1 changed files with 2 additions and 2 deletions
|
@ -1656,7 +1656,7 @@ class ApiV1Controller extends Controller
|
|||
'page' => 'nullable|integer|max:40',
|
||||
'min_id' => 'nullable|integer|min:0|max:' . PHP_INT_MAX,
|
||||
'max_id' => 'nullable|integer|min:0|max:' . PHP_INT_MAX,
|
||||
'limit' => 'nullable|integer|max:80'
|
||||
'limit' => 'nullable|integer|max:100'
|
||||
]);
|
||||
|
||||
$page = $request->input('page');
|
||||
|
@ -1817,7 +1817,7 @@ class ApiV1Controller extends Controller
|
|||
$this->validate($request,[
|
||||
'min_id' => 'nullable|integer|min:0|max:' . PHP_INT_MAX,
|
||||
'max_id' => 'nullable|integer|min:0|max:' . PHP_INT_MAX,
|
||||
'limit' => 'nullable|integer|max:80'
|
||||
'limit' => 'nullable|integer|max:100'
|
||||
]);
|
||||
|
||||
$min = $request->input('min_id');
|
||||
|
|
Loading…
Reference in a new issue