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:
@@ -50,7 +50,7 @@ namespace Umbraco.Web.BackOffice.Controllers
|
||||
public BackOfficeController(
|
||||
BackOfficeUserManager userManager,
|
||||
IRuntimeMinifier runtimeMinifier,
|
||||
IOptionsSnapshot<GlobalSettings> globalSettings,
|
||||
IOptions<GlobalSettings> globalSettings,
|
||||
IHostingEnvironment hostingEnvironment,
|
||||
IUmbracoContextAccessor umbracoContextAccessor,
|
||||
ILocalizedTextService textService,
|
||||
|
||||
Reference in New Issue
Block a user