kopia lustrzana https://github.com/pixelfed/pixelfed
Update StatusHashtagTransformer, add scope to status
rodzic
78d19ed847
commit
a0eb1f1906
|
@ -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,
|
||||
|
|
Ładowanie…
Reference in New Issue