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 00e3eba + bdf1f24 commit 442adee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/MAVN.Service.Dictionaries.Client/AutofacExtension.cs
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 @@ -33,7 +33,7 @@ public static class AutofacExtension
throw new ArgumentException("Value cannot be null or whitespace.",
nameof(DictionariesServiceClientSettings.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 442adee

Please sign in to comment.