forked from mirror/pixelfed
Update InternalApiController
This commit is contained in:
parent
83a21ff81d
commit
4f46f39f1e
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ class InternalApiController extends Controller
|
||||||
$following = array_merge($following, $filters);
|
$following = array_merge($following, $filters);
|
||||||
|
|
||||||
$posts = Status::select('id', 'caption', 'profile_id')
|
$posts = Status::select('id', 'caption', 'profile_id')
|
||||||
|
->whereNull('uri')
|
||||||
->whereHas('media')
|
->whereHas('media')
|
||||||
->whereHas('profile', function($q) {
|
->whereHas('profile', function($q) {
|
||||||
return $q->whereNull('status');
|
return $q->whereNull('status');
|
||||||
|
|
Loading…
Reference in a new issue