mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
fix: sending audio not working
This commit is contained in:
@@ -232,7 +232,7 @@ const MessageInput = ({ ticketStatus }) => {
|
|||||||
|
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
const filename = `${new Date().getTime()}.mp3`;
|
const filename = `${new Date().getTime()}.mp3`;
|
||||||
formData.append("media", blob, filename);
|
formData.append("medias", blob, filename);
|
||||||
formData.append("body", filename);
|
formData.append("body", filename);
|
||||||
formData.append("fromMe", true);
|
formData.append("fromMe", true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user