Browse Source

.AddHttpClient()

xf 7 months ago
parent
commit
4ce696ba0b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Hotline.Api/StartupExtensions.cs

+ 1 - 0
src/Hotline.Api/StartupExtensions.cs

@@ -69,6 +69,7 @@ internal static class StartupExtensions
             .RegisterRepository()
             .RegisterRepository()
             .AddApplication()
             .AddApplication()
             .AddScoped(typeof(IPasswordHasher<>), typeof(PasswordHasher<>))
             .AddScoped(typeof(IPasswordHasher<>), typeof(PasswordHasher<>))
+            .AddHttpClient()
             ;
             ;
 
 
         //cache
         //cache