Update StatusHashtagTransformer, add scope to status

pull/1480/head
Daniel Supernault 6 years ago
parent 78d19ed847
commit a0eb1f1906
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -26,7 +26,8 @@ class StatusHashtagTransformer extends Fractal\TransformerAbstract
'user' => [
'username' => $profile->username,
'url' => $profile->url(),
]
],
'visibility' => $status->visibility ?? $status->scope
],
'hashtag' => [
'name' => $hashtag->name,

Loading…
Cancel
Save