fix(whatsapp.gblib): SEND FILE sending bug.

This commit is contained in:
Rodrigo Rodriguez 2022-08-05 21:38:04 -03:00
parent 4e714e3105
commit 6b07171b72

View file

@ -277,8 +277,8 @@ export class WhatsappDirectLine extends GBService {
attachments.push(
{
name: 'uploaded.png',
contentType: 'image/png',
contentUrl: `data:image/png;base64,${base64Image}`
contentType: base64Image.mimetype,
contentUrl: `data:image/png;base64,${base64Image.data}`
});
}