forked from mirror/pixelfed
Merge pull request #829 from pixelfed/frontend-ui-refactor
Update PublicApiController
This commit is contained in:
commit
c7daf74191
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue