mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 17:26:43 +00:00
Merge pull request #4613 from pixelfed/staging
Update Profile AP transformer, fix context
This commit is contained in:
commit
5dc397ec1f
1 changed files with 2 additions and 6 deletions
|
@ -15,9 +15,8 @@ class ProfileTransformer extends Fractal\TransformerAbstract
|
|||
'https://w3id.org/security/v1',
|
||||
'https://www.w3.org/ns/activitystreams',
|
||||
[
|
||||
'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers',
|
||||
'pixelfed' => 'http://pixelfed.org/ns#',
|
||||
'schema' => 'http://schema.org/',
|
||||
'manuallyApprovesFollowers' => 'as:manuallyApprovesFollowers',
|
||||
'alsoKnownAs' => [
|
||||
'@id' => 'as:alsoKnownAs',
|
||||
'@type' => '@id'
|
||||
|
@ -26,10 +25,7 @@ class ProfileTransformer extends Fractal\TransformerAbstract
|
|||
'@id' => 'as:movedTo',
|
||||
'@type' => '@id'
|
||||
],
|
||||
'indexable' => [
|
||||
'@id' => 'pixelfed:indexable',
|
||||
'@type' => 'schema:Boolean'
|
||||
]
|
||||
'indexable' => 'pixelfed:indexable',
|
||||
],
|
||||
],
|
||||
'id' => $profile->permalink(),
|
||||
|
|
Loading…
Reference in a new issue