forked from mirror/pixelfed
Update StatusStateless resource
This commit is contained in:
parent
9ab9ffbafe
commit
ddbabddd83
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class StatusStateless extends JsonResource
|
|||
'reblog' => null,
|
||||
'content' => $status->rendered ?? $status->caption,
|
||||
'content_text' => $status->caption,
|
||||
// 'created_at' => str_replace('+00:00', 'Z', $status->created_at->format(DATE_RFC3339_EXTENDED)),
|
||||
'created_at' => str_replace('+00:00', 'Z', $status->created_at->format(DATE_RFC3339_EXTENDED)),
|
||||
'emojis' => CustomEmoji::scan($status->caption),
|
||||
'reblogs_count' => $status->reblogs_count ?? 0,
|
||||
'favourites_count' => $status->likes_count ?? 0,
|
||||
|
|
Loading…
Reference in a new issue