1
0
Fork 0

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

Update InternalApiController
This commit is contained in:
daniel 2019-06-04 22:03:54 -06:00 committed by GitHub
commit 3413891f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -117,6 +117,7 @@ class InternalApiController extends Controller
->whereIsNsfw(false)
->whereVisibility('public')
->whereNotIn('profile_id', $following)
->whereDate('created_at', '>', now()->subMonths(3))
->with('media')
->inRandomOrder()
->take(36)