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

View file

@ -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();