2
0
zahmis 4 жил өмнө
parent
commit
9df9321c34

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

@@ -243,8 +243,7 @@ export class SlackCtrl {
     if (relations.length === disallowedGrowiUrls.size) {
       // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
       const client = generateWebClient(authorizeResult.botToken!);
-      const commandName = this.relationsService.getCommandName();
-      return postNotAllowedMessage(client, body, disallowedGrowiUrls, commandName);
+      return postNotAllowedMessage(client, body, disallowedGrowiUrls, growiCommand.growiCommandType);
     }
 
     // select GROWI