Skip to content

Commit

Permalink
Update client.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutiburman committed Nov 23, 2023
1 parent a21b169 commit fd359f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/client/src/classes/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ class Client {

setApiKey(apiKey) {
this.auth = 'Bearer ' + apiKey;
print('baseUrl: ');
print(this.request.baseUrl);
this.setDefaultRequest('baseUrl', SENDGRID_BASE_URL);

if (!this.isValidApiKey(apiKey)) {
Expand Down

0 comments on commit fd359f8

Please sign in to comment.