mirror of
https://github.com/wassname/talk.git
synced 2026-09-12 13:01:11 +08:00
Merge branch '142993479-tags' of github.com:coralproject/talk into 142993479-tags
This commit is contained in:
@@ -205,7 +205,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