diff --git a/src/Tingle.PeriodicTasks/DependencyInjection/PeriodicTaskConfigureOptions.cs b/src/Tingle.PeriodicTasks/DependencyInjection/PeriodicTaskConfigureOptions.cs index 215f324..beb0eed 100644 --- a/src/Tingle.PeriodicTasks/DependencyInjection/PeriodicTaskConfigureOptions.cs +++ b/src/Tingle.PeriodicTasks/DependencyInjection/PeriodicTaskConfigureOptions.cs @@ -39,13 +39,13 @@ public void Configure(string? name, PeriodicTaskOptions options) // bind using the inferred/formatted name var configuration = configurationProvider.Configuration.GetSection($"Tasks:{name}"); - PeriodicTaskConfigureOptions.PopulateFromConfiguration(configuration, options); + PopulateFromConfiguration(configuration, options); // binding using short name is not done because it may result in duplicates // bind using the full type name configuration = configurationProvider.Configuration.GetSection($"Tasks:{type.FullName}"); - PeriodicTaskConfigureOptions.PopulateFromConfiguration(configuration, options); + PopulateFromConfiguration(configuration, options); } ///