Skip to content

Commit

Permalink
Gh-66 :: refactor old service resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
kentico-matthews committed Aug 28, 2024
1 parent 9689687 commit e8a00d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected override void OnInit(ModuleInitParameters parameters)
{
var serviceProvider = parameters.Services.GetRequiredService<IServiceProvider>();

var contactInfoProvider = Service.Resolve<IInfoProvider<ContactInfo>>();
var contactInfoProvider = parameters.Services.GetRequiredService<IInfoProvider<ContactInfo>>();

base.OnInit(parameters);

Expand Down

0 comments on commit e8a00d5

Please sign in to comment.