forked from mirror/pixelfed
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