new(whatsapp.gblib): General Bots WhatsApp provider.
This commit is contained in:
parent
28847adad4
commit
aaebc1c81d
1 changed files with 3 additions and 2 deletions
|
@ -509,8 +509,9 @@ export class WhatsappDirectLine extends GBService {
|
|||
GBLog.warn(`Inconsistencty found: Invalid agentMode on User Table: ${user.agentMode}`);
|
||||
}
|
||||
|
||||
res.end();
|
||||
|
||||
if (res){
|
||||
res.end();
|
||||
}
|
||||
}
|
||||
|
||||
private async endTransfer(id: any, locale: string, user: GuaribasUser, agent: GuaribasUser, sec: SecService) {
|
||||
|
|
Loading…
Add table
Reference in a new issue