瀏覽代碼

apply interactions

zahmis 4 年之前
父節點
當前提交
842dadf081
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/app/src/server/routes/apiv3/slack-integration.js

+ 1 - 1
packages/app/src/server/routes/apiv3/slack-integration.js

@@ -239,7 +239,7 @@ module.exports = (crowi) => {
     return handleInteractions(req, res, client);
   });
 
-  router.post('/proxied/interactions', verifyAccessTokenFromProxy, checkCommandPermission, async(req, res) => {
+  router.post('/proxied/interactions', verifyAccessTokenFromProxy, checkInteractionspermission, async(req, res) => {
     const tokenPtoG = req.headers['x-growi-ptog-tokens'];
     const client = await slackIntegrationService.generateClientByTokenPtoG(tokenPtoG);