Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
terencefan committed Dec 3, 2024
1 parent 47cbbaa commit 8396580
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public class ServiceEndpoint
{
private readonly Uri _serviceEndpoint;

private readonly Uri _serverEndpoint;
private readonly Uri? _serverEndpoint;

private readonly Uri _clientEndpoint;
private readonly Uri? _clientEndpoint;

private readonly TokenCredential? _tokenCredential;

Expand Down Expand Up @@ -125,8 +125,8 @@ public ServiceEndpoint(string connectionString, EndpointType type = EndpointType

_accessKey = result.AccessKey;
_serviceEndpoint = result.Endpoint;
_clientEndpoint = result.ClientEndpoint ?? result.Endpoint;
_serverEndpoint = result.ServerEndpoint ?? result.Endpoint;
_clientEndpoint = result.ClientEndpoint;
_serverEndpoint = result.ServerEndpoint;

Endpoint = BuildEndpointString(_serviceEndpoint);
AudienceBaseUrl = BuildAudienceBaseUrlEndWithSlash(_serviceEndpoint);
Expand Down

0 comments on commit 8396580

Please sign in to comment.