From ebdb365cf86217d7a4f8dfd44692adddb02234dc Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 4 Jun 2019 22:00:05 -0600 Subject: [PATCH] Update InternalApiController --- app/Http/Controllers/InternalApiController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/InternalApiController.php b/app/Http/Controllers/InternalApiController.php index 6c8e4bef..788279a8 100644 --- a/app/Http/Controllers/InternalApiController.php +++ b/app/Http/Controllers/InternalApiController.php @@ -118,8 +118,8 @@ class InternalApiController extends Controller ->whereVisibility('public') ->whereNotIn('profile_id', $following) ->with('media') - ->orderBy('created_at', 'desc') - ->take(21) + ->inRandomOrder() + ->take(36) ->get(); $res = [