Skip to content

Commit

Permalink
fix audio sending
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielolivrp authored Dec 5, 2023
1 parent 242163f commit f43f6da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/send_audio_message_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (a *sendAudioMessageController) Handler(c *gin.Context) {
return
}

resp, err := a.wppService.SendImageMessage(instanceID, jid, audioURL, mimitype)
resp, err := a.wppService.SendAudioMessage(instanceID, jid, audioURL, mimitype)
if err != nil {
utils.RespondInternalServerError(c, err.Error())
return
Expand Down

0 comments on commit f43f6da

Please sign in to comment.