From ecbdc5d0b4a92b57d031fae7f9986d0e0d6db46a Mon Sep 17 00:00:00 2001 From: David Jay Date: Fri, 9 Dec 2016 16:43:04 -0500 Subject: [PATCH] Making itemType consistent on backend. --- models/comment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,