mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update StatusStatelessTransformer.php
This commit is contained in:
parent
347f1a6d53
commit
e2a5a25416
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class StatusStatelessTransformer extends Fractal\TransformerAbstract
|
||||||
'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,
|
||||||
'comments_disabled' => (bool)$status->comments_disabled,
|
'comments_disabled' => (bool) $status->comments_disabled,
|
||||||
'thread' => false,
|
'thread' => false,
|
||||||
'replies' => [],
|
'replies' => [],
|
||||||
'parent' => [],
|
'parent' => [],
|
||||||
|
|
Loading…
Reference in a new issue