1
0
Fork 0
forked from mirror/pixelfed

Update StatusController

This commit is contained in:
Daniel Supernault 2018-10-20 22:57:58 -06:00
parent 701401efec
commit 368b79da5a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -26,7 +26,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
// TODO: fixme // TODO: fixme
'reblog' => null, 'reblog' => null,
'content' => "<p>$status->rendered</p>", 'content' => "$status->rendered",
'created_at' => $status->created_at->format('c'), 'created_at' => $status->created_at->format('c'),
'emojis' => [], 'emojis' => [],
'reblogs_count' => $status->shares()->count(), 'reblogs_count' => $status->shares()->count(),