1
0
Fork 0
forked from mirror/pixelfed

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

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');