Преглед изворни кода

fix variable name targetModule

zahmis пре 5 година
родитељ
комит
b66759f8fc
1 измењених фајлова са 2 додато и 3 уклоњено
  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);