mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update Like AP transformer
This commit is contained in:
parent
962e619061
commit
a5e8b2eec9
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ class Like extends Fractal\TransformerAbstract
|
|||
{
|
||||
return [
|
||||
'@context' => 'https://www.w3.org/ns/activitystreams',
|
||||
'id' => $like->actor->permalink('#likes/'.$like->id),
|
||||
'type' => 'Like',
|
||||
'actor' => $like->actor->permalink(),
|
||||
'object' => $like->status->url()
|
||||
|
|
Loading…
Reference in a new issue