mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
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' => [
|
'user' => [
|
||||||
'username' => $profile->username,
|
'username' => $profile->username,
|
||||||
'url' => $profile->url(),
|
'url' => $profile->url(),
|
||||||
]
|
],
|
||||||
|
'visibility' => $status->visibility ?? $status->scope
|
||||||
],
|
],
|
||||||
'hashtag' => [
|
'hashtag' => [
|
||||||
'name' => $hashtag->name,
|
'name' => $hashtag->name,
|
||||||
|
|
Loading…
Reference in a new issue