Explorar el Código

Update ImportService

Daniel Supernault hace 2 años
padre
commit
2f2e446c1f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/ImportService.php

+ 1 - 1
app/Services/ImportService.php

@@ -98,7 +98,7 @@ class ImportService
             return ImportPost::whereProfileId($profileId)
                 ->get()
                 ->filter(function($ip) {
-                    return StatusService::get($ip->status_id);
+                    return StatusService::get($ip->status_id) == null;
                 })
                 ->map(function($ip) {
                     return collect($ip->media)->map(function($m) { return $m['uri']; });