Explorar o código

fix variable name: method to executeGrowiCommand

zahmis %!s(int64=5) %!d(string=hai) anos
pai
achega
61d838e301
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/slackbot-proxy/src/controllers/slack.ts

+ 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.';