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