fix: sending audio not working

This commit is contained in:
canove
2020-10-26 11:54:59 -03:00
parent 443528d8ed
commit eb0921e40e

View File

@@ -232,7 +232,7 @@ const MessageInput = ({ ticketStatus }) => {
const formData = new FormData();
const filename = `${new Date().getTime()}.mp3`;
formData.append("media", blob, filename);
formData.append("medias", blob, filename);
formData.append("body", filename);
formData.append("fromMe", true);