1
0
Fork 0
forked from mirror/pixelfed

output ->caption to activitypub objects

This commit is contained in:
Carly Ho 2019-01-10 10:05:49 -06:00
parent 73787bafc5
commit f45ac97976

View file

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