Update InternalApiController

This commit is contained in:
Daniel Supernault 2019-06-04 22:03:28 -06:00
parent ebdb365cf8
commit 8309c85d8b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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