itizawa 5 anni fa
parent
commit
2002fc8332
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/server/routes/comment.js

+ 1 - 1
src/server/routes/comment.js

@@ -271,7 +271,7 @@ module.exports = function(crowi, app) {
       const { slackChannels } = slackNotificationForm;
 
       try {
-        const results = await userNotificationService.fire(page, req.user, slackChannels, 'comment', {}, createdComment);
+        const results = await userNotificationService.fire(page, req.user, slackChannels, 'comment', '', createdComment);
         results.forEach((result) => {
           if (result.status === 'rejected') {
             logger.error('Create user notification failed', result.reason);