Merge pull request #1353 from pixelfed/frontend-ui-refactor

Update InternalApiController
This commit is contained in:
daniel 2019-06-04 22:00:31 -06:00 committed by GitHub
commit 972abf1574
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = [