Yuki Takei hace 4 años
padre
commit
7b25435aae
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/app/src/server/routes/apiv3/slack-integration.js

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

@@ -139,7 +139,7 @@ module.exports = (crowi) => {
     res.send();
 
     const tokenPtoG = req.headers['x-growi-ptog-tokens'];
-    const client = slackIntegrationService.generateClientForResponse(tokenPtoG);
+    const client = slackIntegrationService.generateClient(tokenPtoG);
 
     const args = body.text.split(' ');
     const command = args[0];
@@ -177,7 +177,7 @@ module.exports = (crowi) => {
 
 
     const tokenPtoG = req.headers['x-growi-ptog-tokens'];
-    const client = slackIntegrationService.generateClientForResponse(tokenPtoG);
+    const client = slackIntegrationService.generateClient(tokenPtoG);
 
     const payload = JSON.parse(req.body.payload);
     const { type } = payload;