Skip to content

Commit

Permalink
fix(whatsapp.gblib): SEND FILE sending bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Aug 6, 2022
1 parent 9211cd8 commit 61183a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/whatsapp.gblib/services/WhatsappDirectLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export class WhatsappDirectLine extends GBService {
{
name: 'uploaded.png',
contentType: base64Image.mimetype,
contentUrl: `data:image/png;base64,${base64Image.data}`
contentUrl: `data:${base64Image.mimetype};base64,${base64Image.data}`
});
}

Expand Down

0 comments on commit 61183a3

Please sign in to comment.