fixing the array of details

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
alpha1
Maxence Lange 2018-12-03 07:39:10 -01:00
rodzic e40f723023
commit 7f33e8d187
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

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