Update StatusTransformer

This commit is contained in:
Daniel Supernault 2019-06-24 21:14:22 -06:00
parent 4eda870a97
commit 912e966926
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -34,7 +34,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
'muted' => null,
'sensitive' => (bool) $status->is_nsfw,
'spoiler_text' => $status->cw_summary,
'visibility' => $status->visibility,
'visibility' => $status->visibility ?? $status->scope,
'application' => [
'name' => 'web',
'website' => null