Browse Source

Small nit

davidfowl/common-services
David Fowler 1 year ago
committed by Reuben Bond
parent
commit
a87efdef32
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/Web/WebMVC/Extensions/Extensions.cs

+ 2
- 3
src/Web/WebMVC/Extensions/Extensions.cs View File

@ -29,7 +29,7 @@ internal static class Extensions
{
// Register delegating handlers
services.AddTransient<HttpClientAuthorizationDelegatingHandler>()
.AddTransient<HttpClientRequestIdDelegatingHandler>();
.AddTransient<HttpClientRequestIdDelegatingHandler>();
// Add http client services
services.AddHttpClient<IBasketService, BasketService>()
@ -42,8 +42,7 @@ internal static class Extensions
.AddHttpMessageHandler<HttpClientAuthorizationDelegatingHandler>()
.AddHttpMessageHandler<HttpClientRequestIdDelegatingHandler>();
//add custom application services
// Add custom application services
services.AddTransient<IIdentityParser<ApplicationUser>, IdentityParser>();
}


Loading…
Cancel
Save