mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
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);
|
||||
|
||||
$posts = Status::select('id', 'caption', 'profile_id')
|
||||
->whereNull('uri')
|
||||
->whereHas('media')
|
||||
->whereHas('profile', function($q) {
|
||||
return $q->whereNull('status');
|
||||
|
|
Loading…
Reference in a new issue