Skip to content

Commit

Permalink
Merge pull request #6 from IliyanIlievPH/2
Browse files Browse the repository at this point in the history
Closes #2
  • Loading branch information
PaterSantyago committed Apr 6, 2020
2 parents 75844bd + 70b2630 commit 9ab32dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Autofac;
using Autofac;
using JetBrains.Annotations;
using Lykke.HttpClientGenerator;
using Lykke.HttpClientGenerator.Infrastructure;
Expand Down Expand Up @@ -30,7 +30,7 @@ public static class AutofacExtension
if (string.IsNullOrWhiteSpace(settings.ServiceUrl))
throw new ArgumentException("Value cannot be null or whitespace.", nameof(NotificationSystemAuditServiceClientSettings.ServiceUrl));

var clientBuilder = HttpClientGenerator.HttpClientGenerator.BuildForUrl(settings.ServiceUrl)
var clientBuilder = HttpClientGenerator.BuildForUrl(settings.ServiceUrl)
.WithAdditionalCallsWrapper(new ExceptionHandlerCallsWrapper());

clientBuilder = builderConfigure?.Invoke(clientBuilder) ?? clientBuilder.WithoutRetries();
Expand Down

0 comments on commit 9ab32dc

Please sign in to comment.