1
0
Fork 0
forked from mirror/pixelfed

Update PublicApiController

This commit is contained in:
Daniel Supernault 2019-02-25 00:11:52 -07:00
parent 9fb6a379cd
commit c557faa15a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -217,7 +217,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') ?? 3;
// TODO: Use redis for timelines // TODO: Use redis for timelines
// $timeline = Timeline::build()->local(); // $timeline = Timeline::build()->local();
@ -311,7 +311,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') ?? 3;
// TODO: Use redis for timelines // TODO: Use redis for timelines
// $timeline = Timeline::build()->local(); // $timeline = Timeline::build()->local();