Blog Post Id

This commit is contained in:
Paul Schneider 2026-09-19 21:08:10 +01:00
commit 67da921bce
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
22 changed files with 4869 additions and 96 deletions

View file

@ -14,9 +14,9 @@ namespace Yavsc.Server.Helpers
if (readerId == null)
{
var userPosts = dbContext.blogSpotPublications.Include(
b => b.BlogPost
).Where(x => x.BlogPost.AuthorId == posterId)
.Select(x => x.BlogPost).ToArray();
b => b.Post
).Where(x => x.Post.AuthorId == posterId)
.Select(x => x.Post).ToArray();
return userPosts;
}
else