Converted to IOptions over IOptionsSnapshot due to the latter only working in scoped services.
Further amends to return to booting application.
This commit is contained in:
@@ -63,7 +63,7 @@ namespace Umbraco.Web.Trees
|
||||
IDataTypeService dataTypeService,
|
||||
UmbracoTreeSearcher treeSearcher,
|
||||
ActionCollection actions,
|
||||
IOptionsSnapshot<GlobalSettings> globalSettings,
|
||||
IOptions<GlobalSettings> globalSettings,
|
||||
IContentService contentService,
|
||||
IPublicAccessService publicAccessService,
|
||||
ILocalizationService localizationService)
|
||||
|
||||
Reference in New Issue
Block a user