1
0
Fork 0
forked from mirror/pixelfed

Update MediaTransformer

This commit is contained in:
Daniel Supernault 2018-10-09 19:27:25 -06:00
parent 25649c70cc
commit d0d4def3ec
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -11,7 +11,7 @@ class MediaTransformer extends Fractal\TransformerAbstract
{
return [
'id' => $media->id,
'type' => 'image',
'type' => $media->activityVerb(),
'url' => $media->url(),
'remote_url' => null,
'preview_url' => $media->thumbnailUrl(),