Browse Source

Update InternalApiController

Daniel Supernault 6 years ago
parent
commit
4f46f39f1e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Controllers/InternalApiController.php

+ 1 - 0
app/Http/Controllers/InternalApiController.php

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