Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getTwilioClient() {
if (!this.twilioClient) {
this.twilioClient = require('twilio')(this.accountSid, this.authToken, {
httpClient: new CliRequestClient(this.id, this.logger),
region: this.region
});
}
return this.twilioClient;
}