We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fff9f4c commit 6ec293bCopy full SHA for 6ec293b
packages/client/src/classes/client.js
@@ -47,6 +47,7 @@ class Client {
47
setTwilioEmailAuth(username, password) {
48
const b64Auth = Buffer.from(username + ':' + password).toString('base64');
49
this.auth = 'Basic ' + b64Auth;
50
+ // Prevent implicit overwriting if baseUrl is not the default value
51
if (this.defaultRequest.baseUrl === SENDGRID_BASE_URL) {
52
this.setDefaultRequest('baseUrl', TWILIO_BASE_URL);
53
}
0 commit comments