mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
upload preivew + es command
This commit is contained in:
@@ -17,7 +17,7 @@ class MessageResource extends JsonResource
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'subject' => $this->subject,
|
||||
'msg' => strip_all_tags($this->msg),
|
||||
'msg' => htmlspecialchars_decode(strip_all_tags($this->msg)),
|
||||
'added_human' => $this->added->diffForHumans(),
|
||||
'added' => format_datetime($this->added),
|
||||
'send_user' => new UserResource($this->whenLoaded('send_user')),
|
||||
|
||||
Reference in New Issue
Block a user