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' => [],