Update StatusHashtagTransformer, add scope to status

pull/1480/head
Daniel Supernault 2019-07-07 23:30:21 -06:00
rodzic 78d19ed847
commit a0eb1f1906
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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,