1
0
Fork 0

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
1 changed files with 2 additions and 0 deletions

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
];
}