mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 22:37:45 +08:00
Making itemType consistent on backend.
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user