forked from mirror/pixelfed
Merge pull request #964 from pixelfed/frontend-ui-refactor
Update AP Transformer, adds image description to fanout
This commit is contained in:
commit
5b8ffd6d11
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class CreateNote extends Fractal\TransformerAbstract
|
||||||
'type' => $media->activityVerb(),
|
'type' => $media->activityVerb(),
|
||||||
'mediaType' => $media->mime,
|
'mediaType' => $media->mime,
|
||||||
'url' => $media->url(),
|
'url' => $media->url(),
|
||||||
'name' => null,
|
'name' => $media->caption,
|
||||||
];
|
];
|
||||||
})->toArray(),
|
})->toArray(),
|
||||||
'tag' => $tags,
|
'tag' => $tags,
|
||||||
|
|
Loading…
Reference in a new issue