Skip to content

Commit

Permalink
assigning baseUri based on the options
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant authored Jul 27, 2021
1 parent c0c10f4 commit 9f57b8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/serviceClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ export class ServiceClient {
options = {};
}

if (options.baseUri) {
this.baseUri = options.baseUri;
}

let serviceClientCredentials: ServiceClientCredentials | undefined;
if (isTokenCredential(credentials)) {
serviceClientCredentials = new AzureIdentityCredentialAdapter(
Expand Down

0 comments on commit 9f57b8d

Please sign in to comment.