forked from mirror/pixelfed
Update StatusHashtagTransformer, add scope to status
This commit is contained in:
parent
78d19ed847
commit
a0eb1f1906
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue