Skip to content

Commit

Permalink
Fix nullability
Browse files Browse the repository at this point in the history
  • Loading branch information
epsitec authored Sep 16, 2024
1 parent 4056a89 commit c0ff7e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public async Task Invoke(HttpContext context)
httpContextAccessor.HttpContext ??= context;

//Replace the service providers feature with our tenant specific one
IServiceProvidersFeature? existingFeature = context.Features.Get<IServiceProvidersFeature>()!;
IServiceProvidersFeature? existingFeature = context.Features.Get<IServiceProvidersFeature>();
try
{
context.Features.Set<IServiceProvidersFeature>(new RequestServicesFeature(context, multiTenantServiceProviderScopeFactory));
Expand Down

0 comments on commit c0ff7e5

Please sign in to comment.