Making itemType consistent on backend.

This commit is contained in:
David Jay
2016-12-09 16:43:04 -05:00
parent f5ac576187
commit ecbdc5d0b4
+1 -1
View File
@@ -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,