Răsfoiți Sursa

fix variable name targetModule

zahmis 5 ani în urmă
părinte
comite
b66759f8fc
1 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 3
      packages/slackbot-proxy/src/controllers/slack.ts

+ 2 - 3
packages/slackbot-proxy/src/controllers/slack.ts

@@ -65,10 +65,9 @@ export class SlackCtrl {
 
     const method = supportedGrowiCommandsMappings[body.text];
     const modulePath = `../services/${method}Service`;
-    const hoge = require(modulePath);
-    console.log('hoge', hoge);
+    const targetModule = require(modulePath);
+    console.log('hoge', targetModule);
 
-    console.log(method);
 
     // const slackInput = this.receiveService.receiveContentsFromSlack(body);
     // console.log('Controller/events', slackInput);