mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Update InternalApiController
This commit is contained in:
parent
ebdb365cf8
commit
8309c85d8b
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue