|
@@ -23,14 +23,11 @@ class ProfileTransformer extends Fractal\TransformerAbstract
|
|
'followers' => $profile->permalink('/followers'),
|
|
'followers' => $profile->permalink('/followers'),
|
|
'inbox' => $profile->permalink('/inbox'),
|
|
'inbox' => $profile->permalink('/inbox'),
|
|
'outbox' => $profile->permalink('/outbox'),
|
|
'outbox' => $profile->permalink('/outbox'),
|
|
- //'featured' => $profile->permalink('/collections/featured'),
|
|
|
|
'preferredUsername' => $profile->username,
|
|
'preferredUsername' => $profile->username,
|
|
'name' => $profile->name,
|
|
'name' => $profile->name,
|
|
'summary' => $profile->bio,
|
|
'summary' => $profile->bio,
|
|
'url' => $profile->url(),
|
|
'url' => $profile->url(),
|
|
'manuallyApprovesFollowers' => (bool) $profile->is_private,
|
|
'manuallyApprovesFollowers' => (bool) $profile->is_private,
|
|
- // 'follower_count' => $profile->followers()->count(),
|
|
|
|
- // 'following_count' => $profile->following()->count(),
|
|
|
|
'publicKey' => [
|
|
'publicKey' => [
|
|
'id' => $profile->permalink().'#main-key',
|
|
'id' => $profile->permalink().'#main-key',
|
|
'owner' => $profile->permalink(),
|
|
'owner' => $profile->permalink(),
|