1
0
Fork 0

Merge pull request #829 from pixelfed/frontend-ui-refactor

Update PublicApiController
This commit is contained in:
daniel 2019-02-12 23:31:23 -07:00 committed by GitHub
commit c7daf74191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ class PublicApiController extends Controller
$page = $request->input('page'); $page = $request->input('page');
$min = $request->input('min_id'); $min = $request->input('min_id');
$max = $request->input('max_id'); $max = $request->input('max_id');
$limit = $request->input('limit') ?? 10; $limit = $request->input('limit') ?? 5;
// TODO: Use redis for timelines // TODO: Use redis for timelines
// $timeline = Timeline::build()->local(); // $timeline = Timeline::build()->local();
@ -283,7 +283,7 @@ class PublicApiController extends Controller
$page = $request->input('page'); $page = $request->input('page');
$min = $request->input('min_id'); $min = $request->input('min_id');
$max = $request->input('max_id'); $max = $request->input('max_id');
$limit = $request->input('limit') ?? 10; $limit = $request->input('limit') ?? 5;
// TODO: Use redis for timelines // TODO: Use redis for timelines
// $timeline = Timeline::build()->local(); // $timeline = Timeline::build()->local();