Răsfoiți Sursa

fix verificatoinRequestUrl

zahmis 5 ani în urmă
părinte
comite
2a819903ab
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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();
     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
     // Send response immediately to avoid opelation_timeout error