1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-02-23 22:50:46 +00:00

Update AP transformer, fix typo

This commit is contained in:
Daniel Supernault 2019-03-05 18:17:13 -07:00
parent dfc851cc30
commit 11b4c8dd3a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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'
]
];
}
}