|
@@ -12,12 +12,13 @@ class StatusHashtagTransformer extends Fractal\TransformerAbstract
|
|
$hashtag = $statusHashtag->hashtag;
|
|
$hashtag = $statusHashtag->hashtag;
|
|
$status = $statusHashtag->status;
|
|
$status = $statusHashtag->status;
|
|
$profile = $statusHashtag->profile;
|
|
$profile = $statusHashtag->profile;
|
|
-
|
|
|
|
|
|
+
|
|
return [
|
|
return [
|
|
'status' => [
|
|
'status' => [
|
|
'type' => $status->type,
|
|
'type' => $status->type,
|
|
'url' => $status->url(),
|
|
'url' => $status->url(),
|
|
'thumb' => $status->thumb(),
|
|
'thumb' => $status->thumb(),
|
|
|
|
+ 'filter' => $status->firstMedia()->filter_class,
|
|
'sensitive' => (bool) $status->is_nsfw,
|
|
'sensitive' => (bool) $status->is_nsfw,
|
|
'like_count' => $status->likes_count,
|
|
'like_count' => $status->likes_count,
|
|
'share_count' => $status->reblogs_count,
|
|
'share_count' => $status->reblogs_count,
|