mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update ImportService
This commit is contained in:
parent
fe6123c820
commit
2f2e446c1f
1 changed files with 1 additions and 1 deletions
|
@ -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']; });
|
||||||
|
|
Loading…
Reference in a new issue