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:
@@ -48,7 +48,7 @@ namespace Umbraco.Web.BackOffice.Controllers
|
||||
ILocalizedTextService localizedTextService,
|
||||
UmbracoMapper umbracoMapper,
|
||||
IShortStringHelper shortStringHelper,
|
||||
IOptionsSnapshot<GlobalSettings> globalSettings)
|
||||
IOptions<GlobalSettings> globalSettings)
|
||||
{
|
||||
_ioHelper = ioHelper;
|
||||
_fileSystems = fileSystems;
|
||||
|
||||
Reference in New Issue
Block a user