1
0
Эх сурвалжийг харах

Update InternalApiController

Daniel Supernault 6 жил өмнө
parent
commit
cd89925c45

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

@@ -146,9 +146,6 @@ class InternalApiController extends Controller
 
         $posts = Status::select('id', 'caption', 'profile_id')
           ->whereHas('media')
-          ->whereHas('profile', function($q) {
-            $q->where('is_private', false);
-          })
           ->whereIsNsfw(false)
           ->whereVisibility('public')
           ->whereNotIn('profile_id', $following)