Jelajahi Sumber

fix verificatoinRequestUrl

zahmis 5 tahun lalu
induk
melakukan
2a819903ab
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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