zahmis 5 년 전
부모
커밋
4c728f3311
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/server/routes/apiv3/slack-integration.js

+ 2 - 2
src/server/routes/apiv3/slack-integration.js

@@ -68,7 +68,7 @@ module.exports = (crowi) => {
    */
    */
   router.get('/', accessTokenParser, loginRequiredStrictly, adminRequired, async(req, res) => {
   router.get('/', accessTokenParser, loginRequiredStrictly, adminRequired, async(req, res) => {
 
 
-    const slackBotSettingParams = {
+    const slackBotSettingsParams = {
       slackBotType: crowi.configManager.getConfig('crowi', 'slackbot:type'),
       slackBotType: crowi.configManager.getConfig('crowi', 'slackbot:type'),
       // TODO impl when creating official bot
       // TODO impl when creating official bot
       officialBotSettings: {
       officialBotSettings: {
@@ -87,7 +87,7 @@ module.exports = (crowi) => {
         // AccessToken: "tempaccessdatahogehoge",
         // AccessToken: "tempaccessdatahogehoge",
       },
       },
     };
     };
-    return res.apiv3({ slackBotSettingParams });
+    return res.apiv3({ slackBotSettingsParams });
   });
   });
 
 
   /**
   /**