Skip to content

Commit

Permalink
Fixing code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AsabuHere committed May 8, 2023
1 parent 42d6559 commit 0b9b6ed
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/base/BaseTwilio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,14 @@ namespace Twilio {
throw new Error("password is required");
})();
this.accountSid = this.opts.accountSid || this.username;
this.edge = this.opts.edge || this.env.TWILIO_EDGE || process.env.TWILIO_EDGE;
this.region = this.opts.region || this.env.TWILIO_REGION || process.env.TWILIO_REGION;
this.logLevel = this.opts.logLevel || this.env.TWILIO_LOG_LEVEL || process.env.TWILIO_LOG_LEVEL;
this.edge =
this.opts.edge || this.env.TWILIO_EDGE || process.env.TWILIO_EDGE;
this.region =
this.opts.region || this.env.TWILIO_REGION || process.env.TWILIO_REGION;
this.logLevel =
this.opts.logLevel ||
this.env.TWILIO_LOG_LEVEL ||
process.env.TWILIO_LOG_LEVEL;
this.autoRetry = this.opts.autoRetry || false;
this.maxRetries = this.opts.maxRetries;
this.userAgentExtensions = this.opts.userAgentExtensions || [];
Expand Down

0 comments on commit 0b9b6ed

Please sign in to comment.