mirror of https://github.com/pixelfed/pixelfed.git
Update InternalApiController
This commit is contained in:
parent
83a21ff81d
commit
4f46f39f1e
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue