mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 21:07:58 +08:00
Merge branch 'master' of github.com:coralproject/talk into config-embed
This commit is contained in:
@@ -240,7 +240,7 @@ module.exports = class CommentsService {
|
||||
* @param {String} action the new action to the comment
|
||||
* @return {Promise}
|
||||
*/
|
||||
static addAction(item_id, user_id, action_type, metadata) {
|
||||
static addAction(item_id, user_id, action_type, metadata = {}) {
|
||||
return ActionsService.insertUserAction({
|
||||
item_id,
|
||||
item_type: 'COMMENTS',
|
||||
|
||||
Reference in New Issue
Block a user