fix(whatsapp.gblib): SEND FILE sending bug.
This commit is contained in:
parent
3020cd100a
commit
ae96a4f123
1 changed files with 2 additions and 2 deletions
|
@ -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}`
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue