Skip to content

Commit 8f79bde

Browse files
code review fixes
1 parent 8675cd9 commit 8f79bde

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

CallbackHandler/Bootstrapper/MiddlewareRegistry.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,12 @@ public RepositoryRegistry()
104104

105105
Func<SocketsHttpHandler> CreateHttpMessageHandler = () => new SocketsHttpHandler
106106
{
107-
108107
SslOptions = new SslClientAuthenticationOptions
109108
{
110109
RemoteCertificateValidationCallback = (sender,
111110
certificate,
112111
chain,
113112
errors) => {
114-
115113
return true;
116114
}
117115
}

CallbackHandler/Startup.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ internal static void ConfigureEventStoreSettings(EventStoreClientSettings settin
7777
settings.ConnectivitySettings = EventStoreClientConnectivitySettings.Default;
7878
settings.ConnectivitySettings.Address = new Uri(Startup.Configuration.GetValue<String>("EventStoreSettings:ConnectionString"));
7979
settings.ConnectivitySettings.Insecure = Startup.Configuration.GetValue<Boolean>("EventStoreSettings:Insecure");
80-
81-
80+
8281
settings.DefaultCredentials = new UserCredentials(Startup.Configuration.GetValue<String>("EventStoreSettings:UserName"),
8382
Startup.Configuration.GetValue<String>("EventStoreSettings:Password"));
8483
Startup.EventStoreClientSettings = settings;

0 commit comments

Comments
 (0)