1
0
Fork 0

Update ProfileTransformer

This commit is contained in:
Daniel Supernault 2018-08-13 21:29:40 -06:00
parent c14314d70f
commit bc42a0d1f4
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@ class ProfileTransformer extends Fractal\TransformerAbstract
'https://w3id.org/security/v1',
[
"manuallyApprovesFollowers" => "as:manuallyApprovesFollowers",
"featured" => 'https://pixelfed.org/ns/featured',
"featured" => [
"https://pixelfed.org/ns#featured" => ["@type" => "@id"],
]
]
],
'id' => $profile->permalink(),