Update AP transformer, fix typo

pull/967/head
Daniel Supernault
parent dfc851cc30
commit 11b4c8dd3a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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