mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 14:03:16 +00:00
output ->caption to activitypub objects
This commit is contained in:
parent
73787bafc5
commit
f45ac97976
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
||||||
'type' => 'Document',
|
'type' => 'Document',
|
||||||
'mediaType' => $media->mime,
|
'mediaType' => $media->mime,
|
||||||
'url' => $media->url(),
|
'url' => $media->url(),
|
||||||
'name' => null,
|
'name' => $media->caption
|
||||||
];
|
];
|
||||||
}),
|
}),
|
||||||
'tag' => [],
|
'tag' => [],
|
||||||
|
|
Loading…
Reference in a new issue