diff --git a/models/comment.js b/models/comment.js index b8041332e..9cfee2ee7 100644 --- a/models/comment.js +++ b/models/comment.js @@ -289,7 +289,7 @@ CommentSchema.statics.pushStatus = (id, status, assigned_by = null) => Comment.u */ CommentSchema.statics.addAction = (item_id, user_id, action_type, field, detail) => Action.insertUserAction({ item_id, - item_type: 'comment', + item_type: 'comments', user_id, action_type, field,