Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielolivrp committed Jan 23, 2024
1 parent e8437e5 commit 3616336
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/service/whatsapp_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3616336

Please sign in to comment.