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

Update MediaTransformer
This commit is contained in:
daniel 2018-11-24 21:38:54 -07:00 committed by GitHub
commit a2d4630599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ class MediaTransformer extends Fractal\TransformerAbstract
'remote_url' => null, 'remote_url' => null,
'preview_url' => $media->thumbnailUrl(), 'preview_url' => $media->thumbnailUrl(),
'text_url' => null, 'text_url' => null,
'meta' => $media->metadata, 'meta' => null,
'description' => $media->caption, 'description' => $media->caption,
'license' => $media->license, 'license' => $media->license,
'is_nsfw' => $media->is_nsfw, 'is_nsfw' => $media->is_nsfw,