new(WhatsApp.gblib): Warning of QRCode.
This commit is contained in:
parent
cd0fffb6a0
commit
ccd019d86a
1 changed files with 2 additions and 1 deletions
|
@ -53,6 +53,7 @@ import e from 'express';
|
||||||
import { GBUtil } from '../../../src/util.js';
|
import { GBUtil } from '../../../src/util.js';
|
||||||
const { WAState, List, Buttons, Client, MessageMedia } = pkg;
|
const { WAState, List, Buttons, Client, MessageMedia } = pkg;
|
||||||
import twilio from 'twilio';
|
import twilio from 'twilio';
|
||||||
|
import { GBVMService } from 'packages/basic.gblib/services/GBVMService.js';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -180,7 +181,7 @@ export class WhatsappDirectLine extends GBService {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (adminEmail){
|
if (adminEmail){
|
||||||
const pid = GBAdminService.getNumberIdentifier();
|
const pid = GBVMService.createProcessInfo(null, this.min, 'wppboot', null);
|
||||||
await s.sendEmail({pid, to: adminEmail, subject: `Check your WhatsApp for bot ${this.min.botId}`,
|
await s.sendEmail({pid, to: adminEmail, subject: `Check your WhatsApp for bot ${this.min.botId}`,
|
||||||
body: msg
|
body: msg
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue