Explorar o código

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

Update InternalApiController
daniel %!s(int64=6) %!d(string=hai) anos
pai
achega
3413891f49
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Http/Controllers/InternalApiController.php

+ 1 - 0
app/Http/Controllers/InternalApiController.php

@@ -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)