🐛 Fix post service grpc

This commit is contained in:
2025-10-26 03:41:59 +08:00
parent f65a7360e2
commit cdfc3f6571
2 changed files with 3 additions and 7 deletions

View File

@@ -67,9 +67,7 @@ public class PostServiceGrpc(AppDatabase db, PostService ps) : Shared.Proto.Post
.Include(p => p.Categories)
.Include(p => p.RepliedPost)
.Include(p => p.ForwardedPost)
.Include(p => p.Attachments)
.Include(p => p.Awards)
.Include(p => p.Reactions)
.Include(p => p.FeaturedRecords)
.Where(p => p.DeletedAt == null) // Only active posts
.AsQueryable();