diff --git a/app/Transformer/Api/MediaTransformer.php b/app/Transformer/Api/MediaTransformer.php index a4f76a9e..76c3d4bb 100644 --- a/app/Transformer/Api/MediaTransformer.php +++ b/app/Transformer/Api/MediaTransformer.php @@ -17,7 +17,12 @@ class MediaTransformer extends Fractal\TransformerAbstract 'preview_url' => $media->thumbnailUrl(), 'text_url' => null, 'meta' => $media->metadata, - 'description' => null, + 'description' => $media->caption, + 'license' => $media->license, + 'is_nsfw' => $media->is_nsfw, + 'orientation' => $media->orientation, + 'filter_name' => $media->filter_name, + 'filter_class' => $media->filter_class, ]; } }