mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 21:13:16 +00:00
Merge pull request #829 from pixelfed/frontend-ui-refactor
Update PublicApiController
This commit is contained in:
commit
c7daf74191
1 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ class PublicApiController extends Controller
|
|||
$page = $request->input('page');
|
||||
$min = $request->input('min_id');
|
||||
$max = $request->input('max_id');
|
||||
$limit = $request->input('limit') ?? 10;
|
||||
$limit = $request->input('limit') ?? 5;
|
||||
|
||||
// TODO: Use redis for timelines
|
||||
// $timeline = Timeline::build()->local();
|
||||
|
@ -283,7 +283,7 @@ class PublicApiController extends Controller
|
|||
$page = $request->input('page');
|
||||
$min = $request->input('min_id');
|
||||
$max = $request->input('max_id');
|
||||
$limit = $request->input('limit') ?? 10;
|
||||
$limit = $request->input('limit') ?? 5;
|
||||
|
||||
// TODO: Use redis for timelines
|
||||
// $timeline = Timeline::build()->local();
|
||||
|
|
Loading…
Reference in a new issue