Update StatusTransformer

This commit is contained in:
Daniel Supernault 2019-03-31 15:07:31 -06:00
parent 9914c61c65
commit e590db3f32
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -43,6 +43,8 @@ class StatusTransformer extends Fractal\TransformerAbstract
'pinned' => null,
'pf_type' => $status->type ?? $status->setType(),
'reply_count' => $status->reply_count,
'comments_disabled' => $status->comments_disabled ? true : false
];
}