Skip to content

Commit 6ec293b

Browse files
author
be3
committed
Add inline documentation
1 parent fff9f4c commit 6ec293b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/client/src/classes/client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class Client {
4747
setTwilioEmailAuth(username, password) {
4848
const b64Auth = Buffer.from(username + ':' + password).toString('base64');
4949
this.auth = 'Basic ' + b64Auth;
50+
// Prevent implicit overwriting if baseUrl is not the default value
5051
if (this.defaultRequest.baseUrl === SENDGRID_BASE_URL) {
5152
this.setDefaultRequest('baseUrl', TWILIO_BASE_URL);
5253
}

0 commit comments

Comments
 (0)