Merge branch 'master' of github.com:coralproject/talk into config-embed

This commit is contained in:
Belen Curcio
2017-05-10 15:59:09 -03:00
+1 -1
View File
@@ -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',