Updating action type from to for consistency.

This commit is contained in:
David Jay
2017-01-11 15:42:56 -05:00
parent 5f215a95f9
commit 09e3889793
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ CommentSchema.statics.findByActionType = (action_type) => Action
* @return {Promise}
*/
CommentSchema.statics.findIdsByActionType = (action_type) => Action
.findCommentsIdByActionType(action_type, 'comment')
.findCommentsIdByActionType(action_type, 'comments')
.then((actions) => actions.map(a => a.item_id));
/**