Răsfoiți Sursa

apply interactions

zahmis 4 ani în urmă
părinte
comite
842dadf081

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