diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 3681ee00..2b439f1a 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -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}` }); }