zahmis 5 лет назад
Родитель
Сommit
cf475fda45
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/slackbot-proxy/src/controllers/slack.ts

+ 1 - 1
packages/slackbot-proxy/src/controllers/slack.ts

@@ -68,7 +68,7 @@ export class SlackCtrl {
 
 
     console.log(body.text);
     console.log(body.text);
     const method = supportedGrowiCommandsMappings[body.text];
     const method = supportedGrowiCommandsMappings[body.text];
-    const modulePath = `../service/${method}`;
+    const modulePath = `../services/${method}Service`;
     const hoge = require(modulePath);
     const hoge = require(modulePath);
     console.log('hoge', hoge);
     console.log('hoge', hoge);