mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update StatusTransformer, add blurhash
This commit is contained in:
parent
30cf865154
commit
23db9de870
1 changed files with 2 additions and 1 deletions
|
@ -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' => [],
|
||||
|
|
Loading…
Reference in a new issue