mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update ApiV1Controller, fix trending accounts format. Closes #4356
This commit is contained in:
parent
a96a3cfc31
commit
37bd2ee51b
1 changed files with 2 additions and 1 deletions
|
@ -3675,7 +3675,8 @@ class ApiV1Controller extends Controller
|
|||
->filter(function($post) {
|
||||
return $post && isset($post['id']);
|
||||
})
|
||||
->take(3);
|
||||
->take(3)
|
||||
->values();
|
||||
$profile['recent_posts'] = $ids;
|
||||
return $profile;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue