fix(all): Create bot working again.
This commit is contained in:
parent
e265d839f2
commit
46bbe87bb4
2 changed files with 3 additions and 0 deletions
|
@ -393,6 +393,7 @@ export class GBConversationalService {
|
|||
return Promise.reject(new Error(msg));
|
||||
}
|
||||
} else {
|
||||
if (min.instance.smsKey && min.instance.smsSecret) {
|
||||
return new Promise((resolve: any, reject: any): any => {
|
||||
const nexmo = new Nexmo({
|
||||
apiKey: min.instance.smsKey,
|
||||
|
@ -410,6 +411,7 @@ export class GBConversationalService {
|
|||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public async sendToMobile(min: GBMinInstance, mobile: string, message: string, conversationId) {
|
||||
|
|
|
@ -902,6 +902,7 @@ export class WhatsappDirectLine extends GBService {
|
|||
};
|
||||
break;
|
||||
case 'graphapi':
|
||||
break;
|
||||
}
|
||||
|
||||
if (options) {
|
||||
|
|
Loading…
Add table
Reference in a new issue