post reactions

This commit is contained in:
john 2025-05-28 22:05:20 +02:00
parent d1687f276b
commit 8e8e4e2258
10 changed files with 124 additions and 8 deletions

View file

@ -25,9 +25,10 @@ internal class CreatePostCommandHandler(BlogContext context)
media.Height
))
.ToList()
);
post.IsPublic = request.IsPublic is true;
)
{
IsPublic = request.IsPublic is true
};
await context.AddAsync(post, cancellationToken);