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

This commit is contained in:
Rodrigo Rodriguez 2022-08-05 21:38:04 -03:00
parent 3020cd100a
commit ae96a4f123

View file

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