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:
@@ -68,7 +68,7 @@ namespace Umbraco.Web.BackOffice.Controllers
|
||||
IShortStringHelper shortStringHelper,
|
||||
IEventMessagesFactory eventMessages,
|
||||
ILocalizedTextService localizedTextService,
|
||||
IOptionsSnapshot<ContentSettings> contentSettings,
|
||||
IOptions<ContentSettings> contentSettings,
|
||||
IMediaTypeService mediaTypeService,
|
||||
IMediaService mediaService,
|
||||
IEntityService entityService,
|
||||
|
||||
Reference in New Issue
Block a user