fix(whatsapp.gblib): .gbapp message subprocessing.
This commit is contained in:
parent
e9211d92ac
commit
a5073e020e
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ export class WhatsappDirectLine extends GBService {
|
||||||
// Processes .gbapp message interception.
|
// Processes .gbapp message interception.
|
||||||
|
|
||||||
await CollectionUtil.asyncForEach(this.min.appPackages, async (e: IGBPackage) => {
|
await CollectionUtil.asyncForEach(this.min.appPackages, async (e: IGBPackage) => {
|
||||||
await e.onExchangeData(this.min, 'whatsappMessage', message);
|
await e.onExchangeData(this.min, 'whatsappMessage', req.body.messages ? req.body.messages[0] : message);
|
||||||
});
|
});
|
||||||
|
|
||||||
const sec = new SecService();
|
const sec = new SecService();
|
||||||
|
|
Loading…
Add table
Reference in a new issue