Update StatusTransformer

This commit is contained in:
Daniel Supernault 2022-05-15 23:50:55 -06:00
parent 306b6232b6
commit 0a7a061a83
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -53,7 +53,6 @@ class StatusTransformer extends Fractal\TransformerAbstract
'website' => null 'website' => null
], ],
'language' => null, 'language' => null,
'pinned' => null,
'mentions' => StatusMentionService::get($status->id), 'mentions' => StatusMentionService::get($status->id),
'pf_type' => $status->type ?? $status->setType(), 'pf_type' => $status->type ?? $status->setType(),
'reply_count' => (int) $status->reply_count, 'reply_count' => (int) $status->reply_count,