mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
Updating action type from to for consistency.
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user