Skip to content

Commit

Permalink
fix audio handler
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielolivrp committed Jan 23, 2024
1 parent 2742259 commit e8437e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/handler/send_audio_message_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (h *sendAudioMessageHandler) Handler(c *gin.Context) {
return
}

resp, err := h.whatsAppService.SendImageMessage(instance, jid, audioURL, mimitype)
resp, err := h.whatsAppService.SendAudioMessage(instance, jid, audioURL, mimitype)
if err != nil {
response.ErrorResponse(c, http.StatusInternalServerError, err.Error())
return
Expand Down

0 comments on commit e8437e5

Please sign in to comment.