Browse Source

Update InternalApiController

Daniel Supernault 6 years ago
parent
commit
ebdb365cf8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/InternalApiController.php

+ 2 - 2
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 = [