mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update StatusTransformer, Fixes #1760
This commit is contained in:
parent
1e2ada17ca
commit
f89852c321
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class StatusTransformer extends Fractal\TransformerAbstract
|
||||||
'in_reply_to_id' => $status->in_reply_to_id,
|
'in_reply_to_id' => $status->in_reply_to_id,
|
||||||
'in_reply_to_account_id' => $status->in_reply_to_profile_id,
|
'in_reply_to_account_id' => $status->in_reply_to_profile_id,
|
||||||
'reblog' => null,
|
'reblog' => null,
|
||||||
'content' => $status->rendered ?? $status->caption,
|
'content' => $status->rendered ?? $status->caption ?? '',
|
||||||
'created_at' => $status->created_at->toJSON(),
|
'created_at' => $status->created_at->toJSON(),
|
||||||
'emojis' => [],
|
'emojis' => [],
|
||||||
'replies_count' => 0,
|
'replies_count' => 0,
|
||||||
|
|
Loading…
Reference in a new issue