new(security.gblib): SMS Auth.
This commit is contained in:
parent
4cd64f8a90
commit
40feb37297
1 changed files with 1 additions and 4 deletions
|
@ -359,10 +359,7 @@ export class GBConversationalService {
|
|||
const authToken = process.env.TWILIO_AUTH_TOKEN;
|
||||
const client = twilio(null, authToken, { accountSid: accountSid });
|
||||
|
||||
let botNumber = min.core.getParam<string>(min.instance, 'Bot Number', null);
|
||||
if (!botNumber) {
|
||||
botNumber = process.env.BOT_NUMBER;
|
||||
}
|
||||
let botNumber = process.env.BOT_NUMBER;
|
||||
|
||||
const msg = await client.messages
|
||||
.create({
|
||||
|
|
Loading…
Add table
Reference in a new issue