Skip to content

Commit

Permalink
Fix property permissions for MetaTagsNotification Content (#199)
Browse files Browse the repository at this point in the history
* Track content object on MetaTagsNotifications

* Remove set permission on content property

* Remove set permission on content property

---------

Co-authored-by: Ian Leeder <ileeder@intuitiveit.com.au>
  • Loading branch information
2 people authored and patrickdemooij9 committed Jun 1, 2023
1 parent fbcd6f9 commit 6acd4b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6acd4b2

Please sign in to comment.