|
@@ -27,8 +27,8 @@ class StatusStatelessTransformer extends Fractal\TransformerAbstract
|
|
'shortcode' => HashidService::encode($status->id),
|
|
'shortcode' => HashidService::encode($status->id),
|
|
'uri' => $status->url(),
|
|
'uri' => $status->url(),
|
|
'url' => $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,
|
|
'reblog' => null,
|
|
'content' => $status->rendered ?? $status->caption,
|
|
'content' => $status->rendered ?? $status->caption,
|
|
'content_text' => $status->caption,
|
|
'content_text' => $status->caption,
|