Merge pull request #967 from pixelfed/frontend-ui-refactor

Update AP transformer, fix typo
pull/1005/head
daniel 6 years ago committed by GitHub
commit f19cf9c4e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,8 @@ class DeleteNote extends Fractal\TransformerAbstract
{
public function transform(Status $status)
{
'@context' => [
return [
'@context' => [
'https://www.w3.org/ns/activitystreams',
'https://w3id.org/security/v1',
],
@ -20,6 +21,7 @@ class DeleteNote extends Fractal\TransformerAbstract
'id' => $status->permalink(),
'type' => 'Tombstone'
]
];
}
}
Loading…
Cancel
Save