Przeglądaj źródła

fix module pass

zahmis 5 lat temu
rodzic
commit
cf475fda45
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
     const method = supportedGrowiCommandsMappings[body.text];
-    const modulePath = `../service/${method}`;
+    const modulePath = `../services/${method}Service`;
     const hoge = require(modulePath);
     console.log('hoge', hoge);