From 3b27d9afcb52e38b99bc3dd505e65f50b30b1be8 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 3 Jun 2024 14:22:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=AF=AD=E9=9F=B3=20=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=20mime=5Ftype?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/channel/whatsappUtils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/channel/whatsappUtils.js b/src/channel/whatsappUtils.js index f74fde0..d23f2d5 100644 --- a/src/channel/whatsappUtils.js +++ b/src/channel/whatsappUtils.js @@ -413,6 +413,7 @@ export const whatsappMsgTypeMapped = { id: msg.wamid, data: { audioURL: msg.audio.link, + audioType: msg.audio?.mime_type || 'audio/ogg', }, }), renderForReply: (msg) => ({