Update ApiV1Controller, update favourites max limit. Fixes #4854

This commit is contained in:
Daniel Supernault 2024-01-06 11:43:56 -07:00
parent bca2484994
commit d25209f74a
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ class ApiV1Controller extends Controller
{
abort_if(!$request->user(), 403);
$this->validate($request, [
'limit' => 'sometimes|integer|min:1|max:20'
'limit' => 'sometimes|integer|min:1|max:40'
]);
$user = $request->user();