new(whatsapp.gblib): New WhatsApp provider: Meta.
This commit is contained in:
parent
913da03813
commit
20e77ef3a2
1 changed files with 0 additions and 2 deletions
|
@ -827,8 +827,6 @@ export class WhatsappDirectLine extends GBService {
|
||||||
|
|
||||||
if (req.body.entry[0].changes[0].value.statuses) {
|
if (req.body.entry[0].changes[0].value.statuses) {
|
||||||
if (req.body.entry[0].changes[0].value.statuses[0].status === 'failed'){
|
if (req.body.entry[0].changes[0].value.statuses[0].status === 'failed'){
|
||||||
id = req.body.entry[0].changes[0].value.messages[0].from;
|
|
||||||
senderName = req.body.entry[0].changes[0].value.contacts[0].profile.name;
|
|
||||||
|
|
||||||
GBLogEx.error(this.min, `WhatsApp:${id} ${senderName} ${JSON.stringify(req.body.entry[0].changes[0])}.`);
|
GBLogEx.error(this.min, `WhatsApp:${id} ${senderName} ${JSON.stringify(req.body.entry[0].changes[0])}.`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue