Explorar o código

Update InternalApiController

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

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