|
|
@ -24,8 +24,8 @@ class AccountTransformer extends Fractal\TransformerAbstract
|
|
|
|
'url' => $profile->url(),
|
|
|
|
'url' => $profile->url(),
|
|
|
|
'avatar' => $profile->avatarUrl(),
|
|
|
|
'avatar' => $profile->avatarUrl(),
|
|
|
|
'avatar_static' => $profile->avatarUrl(),
|
|
|
|
'avatar_static' => $profile->avatarUrl(),
|
|
|
|
'header' => '',
|
|
|
|
'header' => url('/storage/headers/missing.png'),
|
|
|
|
'header_static' => '',
|
|
|
|
'header_static' => url('/storage/headers/missing.png'),
|
|
|
|
'followers_count' => (int) $profile->followerCount(),
|
|
|
|
'followers_count' => (int) $profile->followerCount(),
|
|
|
|
'following_count' => (int) $profile->followingCount(),
|
|
|
|
'following_count' => (int) $profile->followingCount(),
|
|
|
|
'statuses_count' => (int) $profile->statusCount(),
|
|
|
|
'statuses_count' => (int) $profile->statusCount(),
|
|
|
|