fix(basic.gblib): Fix Scheduling.
This commit is contained in:
parent
bb9d8c91e6
commit
8805996934
1 changed files with 2 additions and 1 deletions
|
@ -423,7 +423,8 @@ export class GBConversationalService {
|
|||
|
||||
public async sendToMobile(min: GBMinInstance, mobile: string, message: string, conversationId) {
|
||||
GBLog.info(`Sending message ${message} to ${mobile}...`);
|
||||
await min.whatsAppDirectLine.sendToDevice(mobile, message, conversationId);
|
||||
return min.whatsAppDirectLine ? await min.whatsAppDirectLine.sendToDevice(mobile, message, conversationId):
|
||||
null;
|
||||
}
|
||||
|
||||
public static async getAudioBufferFromText(text): Promise<string> {
|
||||
|
|
Loading…
Add table
Reference in a new issue