1
0
Fork 1
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:
daniel 2019-01-23 13:55:32 -07:00 committed by GitHub
commit d2b3859bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
'type' => 'Document',
'mediaType' => $media->mime,
'url' => $media->url(),
'name' => null,
'name' => $media->caption
];
}),
'tag' => [],