1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 08:44:02 +00:00

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
'reblog' => null,
'content' => "<p>$status->rendered</p>",
'content' => "$status->rendered",
'created_at' => $status->created_at->format('c'),
'emojis' => [],
'reblogs_count' => $status->shares()->count(),