Update ApiV1Controller, fix trending accounts format. Closes #4356

pull/4358/head
Daniel Supernault 2023-05-06 18:49:21 -06:00
rodzic a96a3cfc31
commit 37bd2ee51b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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;
})