mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Merge pull request #2592 from pixelfed/staging
Update StatusTransformer, add blurhash
This commit is contained in:
commit
ed94041a19
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
||||||
'type' => 'Document',
|
'type' => 'Document',
|
||||||
'mediaType' => $media->mime,
|
'mediaType' => $media->mime,
|
||||||
'url' => $media->url(),
|
'url' => $media->url(),
|
||||||
'name' => $media->caption
|
'name' => $media->caption,
|
||||||
|
'blurhash' => $media->blurhash
|
||||||
];
|
];
|
||||||
}),
|
}),
|
||||||
'tag' => [],
|
'tag' => [],
|
||||||
|
|
Loading…
Reference in a new issue