Kaynağa Gözat

Update InternalApiController

Daniel Supernault 6 yıl önce
ebeveyn
işleme
8309c85d8b

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