mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Merge pull request #4855 from pixelfed/staging
Update ApiV1Controller, update favourites max limit. Fixes #4854
This commit is contained in:
commit
0a556d1ac1
1 changed files with 1 additions and 1 deletions
|
@ -1188,7 +1188,7 @@ class ApiV1Controller extends Controller
|
||||||
{
|
{
|
||||||
abort_if(!$request->user(), 403);
|
abort_if(!$request->user(), 403);
|
||||||
$this->validate($request, [
|
$this->validate($request, [
|
||||||
'limit' => 'sometimes|integer|min:1|max:20'
|
'limit' => 'sometimes|integer|min:1|max:40'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$user = $request->user();
|
$user = $request->user();
|
||||||
|
|
Loading…
Reference in a new issue