Explorar o código

Update InternalApiController

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
4f46f39f1e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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');