Explorar o código

fix module pass

zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
cf475fda45
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);