1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-28 02:36:50 +00:00

Merge pull request #964 from pixelfed/frontend-ui-refactor

Update AP Transformer, adds image description to fanout
This commit is contained in:
daniel 2019-03-05 17:42:13 -07:00 committed by GitHub
commit 5b8ffd6d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,