~jpgleeson/caint

33ef43ddbf22d0c7f0b741a50d225e656bb471e6 — jpgleeson 1 year, 5 months ago 2966a9e
FIX: Add ownerId to new comments.

ownerId is now added to new comments. Everything worked correctly before the way I was using and manipulating comments, but when I implemented the unapproved comments with the dashboard, I was filtering by ownerId on each comment rather than by threadId, and they didn't show up because they were all set to null.
1 files changed, 2 insertions(+), 0 deletions(-)

M Controllers/CommentsController.cs
M Controllers/CommentsController.cs => Controllers/CommentsController.cs +2 -0
@@ 157,6 157,8 @@ namespace caint.Controllers
            }
            else
            {
                comment.ownerId = tenant.ownerId;
                
                if (tenant.active)
                {
                    //It might be worthwhile putting the acceptance in here so that we catch comments