1
0
Fork 0

Update StatusHashtagTransformer, add blurhash attribute

This commit is contained in:
Daniel Supernault 2021-01-30 16:38:43 -07:00
parent 3f772ff864
commit 899bbeba5f
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ class StatusHashtagTransformer extends Fractal\TransformerAbstract
'url' => $status->url(),
'thumb' => $status->thumb(true),
'filter' => $status->firstMedia()->filter_class,
'blurhash' => $status->firstMedia()->blurhash,
'sensitive' => (bool) $status->is_nsfw,
'like_count' => $status->likes_count,
'share_count' => $status->reblogs_count,