fix(WhatsappDirectLine): comment out unused header component in message structure
Some checks are pending
GBCI / build (push) Waiting to run

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-06-11 11:08:15 -03:00
parent e17ad407ff
commit 910d78765a

View file

@ -665,10 +665,9 @@ export class GBConversationalService {
let data: any = {
name: template,
components: [
]
components: [ ]
};
data['components'][0]['parameters'][0][mediaType] = { link: urlMedia };
//data['components'][0]['parameters'][0][mediaType] = { link: urlMedia };
await this.sendToMobile(min, mobile, data, null);
GBLogEx.info(min, `Sending answer file to mobile: ${mobile}. Header: ${urlMedia}`);