Procházet zdrojové kódy

fix variable name: method to executeGrowiCommand

zahmis před 5 roky
rodič
revize
61d838e301

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

@@ -66,8 +66,8 @@ export class SlackCtrl {
     const supportedGrowiCommandsMappings = {
       register: () => this.registerService.openRegisterModal(body),
     };
-    const method = supportedGrowiCommandsMappings[body.text];
-    await method();
+    const executeGrowiCommand = supportedGrowiCommandsMappings[body.text];
+    await executeGrowiCommand();
     res.send();
 
     return 'This action will be handled by bolt service.';