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:
@@ -43,7 +43,7 @@ namespace Umbraco.Web.BackOffice.Controllers
|
||||
ILogger logger,
|
||||
ILocalizationService localizationService,
|
||||
IWebSecurity webSecurity,
|
||||
IOptionsSnapshot<GlobalSettings> globalSettings,
|
||||
IOptions<GlobalSettings> globalSettings,
|
||||
ILocalizedTextService localizedTextService,
|
||||
UmbracoMapper umbracoMapper
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user