Skip to content

Commit

Permalink
fix: Remove double regristeritions of endpount inherit from IEndpoint…
Browse files Browse the repository at this point in the history
…AndServiceDefinition since IEndpointAndServiceDefinition inherits from IEndpointDefinition
  • Loading branch information
davidkallesen committed Oct 24, 2023
1 parent e4f155f commit 2650737
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ public static void AddEndpointAndServiceDefinitions(
{
endpointDefinition.DefineServices(services);
}

services.AddSingleton(endpointDefinitions as IReadOnlyCollection<IEndpointAndServiceDefinition>);
}

/// <summary>
Expand Down

0 comments on commit 2650737

Please sign in to comment.