mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 08:14:10 +00:00
Merge pull request #767 from cmho/764-output-media-descriptions-to-ap
[764] output media caption to activitypub objects
This commit is contained in:
commit
d2b3859bd2
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