فهرست منبع

Update InternalApiController

Daniel Supernault 6 سال پیش
والد
کامیت
cd89925c45
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  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)