From 3616336c019ee5579481dbf0c789ae408ae71bd4 Mon Sep 17 00:00:00 2001 From: Gabriel Augusto Date: Tue, 23 Jan 2024 15:49:13 -0300 Subject: [PATCH] fix --- api/service/whatsapp_service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/service/whatsapp_service.go b/api/service/whatsapp_service.go index 92b6f29..ed33762 100644 --- a/api/service/whatsapp_service.go +++ b/api/service/whatsapp_service.go @@ -323,8 +323,8 @@ func (w *whatsAppService) handleMessage(instanceId string, evt *events.Message) } body := map[string]interface{}{ - "InstanceId": instanceId, - "Message": response.NewMessageResponse(message), + "instanceId": instanceId, + "message": response.NewMessageResponse(message), } err = http.Request(w.app.Config.WebhookURL, body)