Update ApiV1Controller, increase home timeline max limit to 100 to fix compatibility with mastoapi

This commit is contained in:
Daniel Supernault 2023-03-11 05:45:20 -07:00
parent b259193a04
commit 5cf9ba785f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -2076,7 +2076,7 @@ class ApiV1Controller extends Controller
'page' => 'sometimes|integer|max:40',
'min_id' => 'sometimes|integer|min:0|max:' . PHP_INT_MAX,
'max_id' => 'sometimes|integer|min:0|max:' . PHP_INT_MAX,
'limit' => 'sometimes|integer|min:1|max:80'
'limit' => 'sometimes|integer|min:1|max:100'
]);
$napi = $request->has(self::PF_API_ENTITY_KEY);