Update InternalApiController

This commit is contained in:
Daniel Supernault 2019-02-11 17:37:29 -07:00
parent 83a21ff81d
commit 4f46f39f1e
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ class InternalApiController extends Controller
$following = array_merge($following, $filters);
$posts = Status::select('id', 'caption', 'profile_id')
->whereNull('uri')
->whereHas('media')
->whereHas('profile', function($q) {
return $q->whereNull('status');