mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update AP transformer, fix typo
This commit is contained in:
parent
dfc851cc30
commit
11b4c8dd3a
1 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ class DeleteNote extends Fractal\TransformerAbstract
|
||||||
{
|
{
|
||||||
public function transform(Status $status)
|
public function transform(Status $status)
|
||||||
{
|
{
|
||||||
|
return [
|
||||||
'@context' => [
|
'@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…
Reference in a new issue