Update StatusStatelessTransformer, cast snowflake ids as strings
This commit is contained in:
parent
6832836c55
commit
e1277d4081
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ class StatusStatelessTransformer extends Fractal\TransformerAbstract
|
|||
'shortcode' => HashidService::encode($status->id),
|
||||
'uri' => $status->url(),
|
||||
'url' => $status->url(),
|
||||
'in_reply_to_id' => $status->in_reply_to_id,
|
||||
'in_reply_to_account_id' => $status->in_reply_to_profile_id,
|
||||
'in_reply_to_id' => (string) $status->in_reply_to_id,
|
||||
'in_reply_to_account_id' => (string) $status->in_reply_to_profile_id,
|
||||
'reblog' => null,
|
||||
'content' => $status->rendered ?? $status->caption,
|
||||
'content_text' => $status->caption,
|
||||
|
|
Loading…
Reference in a new issue