mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02: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…
Add table
Reference in a new issue