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

Update DeleteNote transformer
This commit is contained in:
daniel 2019-03-05 18:26:38 -07:00 committed by GitHub
commit aa5eff44f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ class DeleteNote extends Fractal\TransformerAbstract
'type' => 'Delete', 'type' => 'Delete',
'actor' => $status->profile->permalink(), 'actor' => $status->profile->permalink(),
'object' => [ 'object' => [
'id' => $status->permalink(), 'id' => $status->url(),
'type' => 'Tombstone' 'type' => 'Tombstone'
] ]
]; ];