mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 03:34:22 -05:00
@@ -23,16 +23,16 @@ class ChatUserResource extends JsonResource
|
||||
public function toArray($request): array
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'username' => $this->username,
|
||||
'chat_status' => $this->whenLoaded('chatStatus'),
|
||||
'id' => $this->id,
|
||||
'username' => $this->username,
|
||||
'chat_status' => $this->whenLoaded('chatStatus'),
|
||||
'chat_status_id' => $this->chat_status_id,
|
||||
'chatroom_id' => $this->chatroom_id,
|
||||
'group' => $this->whenLoaded('group'),
|
||||
'echoes' => $this->whenLoaded('echoes'),
|
||||
'group_id' => $this->group_id,
|
||||
'title' => $this->title,
|
||||
'image' => $this->image,
|
||||
'chatroom_id' => $this->chatroom_id,
|
||||
'group' => $this->whenLoaded('group'),
|
||||
'echoes' => $this->whenLoaded('echoes'),
|
||||
'group_id' => $this->group_id,
|
||||
'title' => $this->title,
|
||||
'image' => $this->image,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user