diff --git a/src/SeoToolkit.Umbraco.MetaFields.Core/Notifications/AfterMetaTagsNotification.cs b/src/SeoToolkit.Umbraco.MetaFields.Core/Notifications/AfterMetaTagsNotification.cs index 6961dfd2..07e624c6 100644 --- a/src/SeoToolkit.Umbraco.MetaFields.Core/Notifications/AfterMetaTagsNotification.cs +++ b/src/SeoToolkit.Umbraco.MetaFields.Core/Notifications/AfterMetaTagsNotification.cs @@ -9,7 +9,7 @@ public class AfterMetaTagsNotification : INotification { public string ContentTypeAlias { get; } public MetaTagsModel MetaTags { get; } - public IPublishedContent Content { get; set; } + public IPublishedContent Content { get; } [Obsolete("This constructor is deprecated and will be removed in the next major release.")] public AfterMetaTagsNotification(string contentTypeAlias, MetaTagsModel metaTags) diff --git a/src/SeoToolkit.Umbraco.MetaFields.Core/Notifications/BeforeMetaTagsNotification.cs b/src/SeoToolkit.Umbraco.MetaFields.Core/Notifications/BeforeMetaTagsNotification.cs index bcacddc4..5cd5060e 100644 --- a/src/SeoToolkit.Umbraco.MetaFields.Core/Notifications/BeforeMetaTagsNotification.cs +++ b/src/SeoToolkit.Umbraco.MetaFields.Core/Notifications/BeforeMetaTagsNotification.cs @@ -9,7 +9,7 @@ public class BeforeMetaTagsNotification : INotification { public string ContentTypeAlias { get; } public MetaTagsModel MetaTags { get; } - public IPublishedContent Content { get; set; } + public IPublishedContent Content { get; } [Obsolete("This constructor is deprecated and will be removed in the next major release.")] public BeforeMetaTagsNotification(string contentTypeAlias, MetaTagsModel metaTags)