mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update StatusTransformer.php
This commit is contained in:
parent
d5225d9197
commit
af3d313047
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
|||
'mentions' => StatusMentionService::get($status->id),
|
||||
'pf_type' => $status->type ?? $status->setType(),
|
||||
'reply_count' => (int) $status->reply_count,
|
||||
'comments_disabled' => $status->comments_disabled ? true : false,
|
||||
'comments_disabled' => (bool)$status->comments_disabled,
|
||||
'thread' => false,
|
||||
'replies' => [],
|
||||
'parent' => [],
|
||||
|
|
Loading…
Reference in a new issue