Ver Fonte

fix verificatoinRequestUrl

zahmis há 5 anos atrás
pai
commit
2a819903ab
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/server/routes/apiv3/slack-bot.js

+ 1 - 1
src/server/routes/apiv3/slack-bot.js

@@ -37,7 +37,7 @@ module.exports = (crowi) => {
     return next();
   };
 
-  router.post('/', slackBotSigningSecret, verifyingIsSlackRequest, verificationRequestUrl, verificationAccessToken, async(req, res) => {
+  router.post('/', verificationRequestUrl, slackBotSigningSecret, verifyingIsSlackRequest, verificationAccessToken, async(req, res) => {
 
 
     // Send response immediately to avoid opelation_timeout error