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);