🐛 Fix post reading issue

This commit is contained in:
2025-09-11 18:34:35 +08:00
parent 812dd03e85
commit aa062932cf
2 changed files with 2 additions and 1 deletions

View File

@@ -76,7 +76,7 @@ public class Post : ModelBase, IIdentifiedResource, IActivity
public Publisher.Publisher Publisher { get; set; } = null!;
public ICollection<PostAward> Awards { get; set; } = null!;
public ICollection<PostReaction> Reactions { get; set; } = new List<PostReaction>();
[JsonIgnore] public ICollection<PostReaction> Reactions { get; set; } = new List<PostReaction>();
public ICollection<PostTag> Tags { get; set; } = new List<PostTag>();
public ICollection<PostCategory> Categories { get; set; } = new List<PostCategory>();
[JsonIgnore] public ICollection<PostCollection> Collections { get; set; } = new List<PostCollection>();