Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
granstel committed Oct 25, 2023
1 parent 76299a3 commit 44cbe40
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ internal static void AddExternalServices(this IServiceCollection services, AppCo
services.AddSingleton<IRedisCacheService>(RegisterCacheService);

services.AddHttpClient<IGlobalApiClient, GlobalApiClient>(configuration.GlobalApiEndpoint,
nameof(configuration.GlobalApiEndpoint));
services.AddHttpClient<IPublicApiClient, PublicApiClient>(configuration.PublicApiEndpoint,
nameof(configuration.PublicApiEndpoint));
nameof(GlobalApiClient));
services.AddHttpClient<IPublicApiClient, PublicApiClient>(nameof(PublicApiClient));
services.AddHttpClient<IRealtimeBoardApiClient, RealtimeBoardApiClient>(configuration.RealtimeBoardApiClientEndpoint,
nameof(configuration.RealtimeBoardApiClientEndpoint));
services.AddHttpClient<IRestcountriesApiClient, RestcountriesApiClient>(configuration.RestcountriesApiClientEndpoint,
Expand Down

0 comments on commit 44cbe40

Please sign in to comment.