From c557faa15aceaca4bf47eed1ee51ada1c64773cc Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 25 Feb 2019 00:11:52 -0700 Subject: [PATCH] Update PublicApiController --- app/Http/Controllers/PublicApiController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/PublicApiController.php b/app/Http/Controllers/PublicApiController.php index 35100afe..6bd1ef91 100644 --- a/app/Http/Controllers/PublicApiController.php +++ b/app/Http/Controllers/PublicApiController.php @@ -217,7 +217,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') ?? 3; // TODO: Use redis for timelines // $timeline = Timeline::build()->local(); @@ -311,7 +311,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') ?? 3; // TODO: Use redis for timelines // $timeline = Timeline::build()->local();