new(whatsapp.gblib): General Bots WhatsApp provider.

This commit is contained in:
Rodrigo Rodriguez 2022-07-21 15:36:41 -03:00
parent 28847adad4
commit aaebc1c81d

View file

@ -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) {