diff --git a/DysonNetwork.Sphere/Post/Post.cs b/DysonNetwork.Sphere/Post/Post.cs index 4e88c8a..b3efa55 100644 --- a/DysonNetwork.Sphere/Post/Post.cs +++ b/DysonNetwork.Sphere/Post/Post.cs @@ -76,7 +76,7 @@ public class Post : ModelBase, IIdentifiedResource, IActivity public Publisher.Publisher Publisher { get; set; } = null!; public ICollection Awards { get; set; } = null!; - public ICollection Reactions { get; set; } = new List(); + [JsonIgnore] public ICollection Reactions { get; set; } = new List(); public ICollection Tags { get; set; } = new List(); public ICollection Categories { get; set; } = new List(); [JsonIgnore] public ICollection Collections { get; set; } = new List(); diff --git a/DysonNetwork.Sphere/Post/PostService.cs b/DysonNetwork.Sphere/Post/PostService.cs index 3775371..fc02344 100644 --- a/DysonNetwork.Sphere/Post/PostService.cs +++ b/DysonNetwork.Sphere/Post/PostService.cs @@ -894,6 +894,7 @@ public partial class PostService( var posts = await db.Posts .Where(e => featuredIds.Contains(e.Id)) .Include(e => e.ForwardedPost) + .Include(e => e.RepliedPost) .Include(e => e.Categories) .Include(e => e.Publisher) .Take(featuredIds.Count)