sforkowany z mirror/social
fixing the array of details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>alpha1
rodzic
e40f723023
commit
7f33e8d187
|
@ -240,9 +240,9 @@ class ActorService {
|
|||
try {
|
||||
$actor = $this->getActor($username);;
|
||||
$count = [
|
||||
'followers', $this->followsRequest->countFollowers($actor->getId()),
|
||||
'following', $this->followsRequest->countFollowing($actor->getId()),
|
||||
'post', $this->notesRequest->countNotesFromActorId($actor->getId())
|
||||
'followers' => $this->followsRequest->countFollowers($actor->getId()),
|
||||
'following' => $this->followsRequest->countFollowing($actor->getId()),
|
||||
'post' => $this->notesRequest->countNotesFromActorId($actor->getId())
|
||||
];
|
||||
$actor->addDetailArray('count', $count);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue