Update AP transformer, fix typo

pull/967/head
Daniel Supernault 2019-03-05 18:17:13 -07:00
rodzic dfc851cc30
commit 11b4c8dd3a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

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