mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update AccountController
This commit is contained in:
parent
4dc9365acb
commit
68300c426c
1 changed files with 2 additions and 1 deletions
|
@ -364,7 +364,8 @@ class AccountController extends Controller
|
||||||
'accounts' => $followers->take(10)->map(function($a) {
|
'accounts' => $followers->take(10)->map(function($a) {
|
||||||
$actor = $a->actor;
|
$actor = $a->actor;
|
||||||
return [
|
return [
|
||||||
'id' => $actor->id,
|
'rid' => (string) $a->id,
|
||||||
|
'id' => (string) $actor->id,
|
||||||
'username' => $actor->username,
|
'username' => $actor->username,
|
||||||
'avatar' => $actor->avatarUrl(),
|
'avatar' => $actor->avatarUrl(),
|
||||||
'url' => $actor->url(),
|
'url' => $actor->url(),
|
||||||
|
|
Loading…
Reference in a new issue