diff --git a/Modules/Linksehat/Http/Controllers/Api/Doctor/ChatDoctorController.php b/Modules/Linksehat/Http/Controllers/Api/Doctor/ChatDoctorController.php index 5bcc80ae..f994f741 100644 --- a/Modules/Linksehat/Http/Controllers/Api/Doctor/ChatDoctorController.php +++ b/Modules/Linksehat/Http/Controllers/Api/Doctor/ChatDoctorController.php @@ -322,7 +322,7 @@ class ChatDoctorController extends Controller // Ambil data dari request $message = Message::create([ - 'content' => 'summary', + 'content' => json_encode($data), 'from_user' => $livechat->doctor_id, 'channel_id' => $channel->id, 'type' => 'summary'