Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Nov 21, 2024
1 parent b274ab7 commit 02b40e6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions api/Infrastructure/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ public static IServiceCollection AddMapster(this IServiceCollection services, Ac

public static IServiceCollection AddHttpClientsAndScvServices(this IServiceCollection services, IConfiguration configuration)
{
// var apigwKey = configuration.GetNonEmptyValue("AWS_API_GATEWAY_API_KEY");
// var authorizerKey = configuration.GetNonEmptyValue("AuthorizerKey");

services.AddTransient<TimingHandler>();
services.AddHttpClient<FileServicesClient>(client =>
{
Expand All @@ -67,8 +64,6 @@ public static IServiceCollection AddHttpClientsAndScvServices(this IServiceColle
configuration.GetNonEmptyValue("LocationServicesClient:Username"),
configuration.GetNonEmptyValue("LocationServicesClient:Password"));
client.BaseAddress = new Uri(configuration.GetNonEmptyValue("LocationServicesClient:Url").EnsureEndingForwardSlash());
// client.DefaultRequestHeaders.Add(X_APIGW_KEY_HEADER, apigwKey);
// client.DefaultRequestHeaders.Add(X_ORIGIN_VERIFY_HEADER, authorizerKey);
}).AddHttpMessageHandler<TimingHandler>();

services.AddHttpClient<UserServiceClient>(client =>
Expand Down

0 comments on commit 02b40e6

Please sign in to comment.