1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #2592 from pixelfed/staging

Update StatusTransformer, add blurhash
This commit is contained in:
daniel 2021-01-29 01:39:11 -07:00 committed by GitHub
commit ed94041a19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,8 @@ class StatusTransformer extends Fractal\TransformerAbstract
'type' => 'Document',
'mediaType' => $media->mime,
'url' => $media->url(),
'name' => $media->caption
'name' => $media->caption,
'blurhash' => $media->blurhash
];
}),
'tag' => [],