mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-02-04 10:50:46 +00:00
Update ApiV1Controller, fix unlisted replies
This commit is contained in:
parent
d48674154a
commit
c13bca7629
1 changed files with 1 additions and 1 deletions
|
@ -2581,7 +2581,7 @@ class ApiV1Controller extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = $ids->map(function($post) use($pid) {
|
$data = $ids->map(function($post) use($pid) {
|
||||||
$status = StatusService::get($post->id);
|
$status = StatusService::get($post->id, false);
|
||||||
|
|
||||||
if(!$status || !isset($status['id'])) {
|
if(!$status || !isset($status['id'])) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue