fix(WhatsappDirectLine): comment out unused header component in message structure
Some checks are pending
GBCI / build (push) Waiting to run
Some checks are pending
GBCI / build (push) Waiting to run
This commit is contained in:
parent
e17ad407ff
commit
910d78765a
1 changed files with 2 additions and 3 deletions
|
@ -665,10 +665,9 @@ export class GBConversationalService {
|
||||||
|
|
||||||
let data: any = {
|
let data: any = {
|
||||||
name: template,
|
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);
|
await this.sendToMobile(min, mobile, data, null);
|
||||||
GBLogEx.info(min, `Sending answer file to mobile: ${mobile}. Header: ${urlMedia}`);
|
GBLogEx.info(min, `Sending answer file to mobile: ${mobile}. Header: ${urlMedia}`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue