Skip to content

Commit cc529ca

Browse files
Fixed issue with being unable to configure an interceptor from a config file for netstandard2_0
1 parent 5ebe672 commit cc529ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotNetToolkit.Repository/Internal/ConfigFile/Json/ConfigurationSection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public IReadOnlyDictionary<Type, Func<IRepositoryInterceptor>> GetInterceptors()
9797
{
9898
var type = ExtractType(subSection, isRequired: true);
9999

100-
interceptorsDict.Add(type, () => GetTypedValue<IRepositoryInterceptor>(section, type));
100+
interceptorsDict.Add(type, () => GetTypedValue<IRepositoryInterceptor>(subSection, type));
101101
}
102102
}
103103
}

0 commit comments

Comments
 (0)