zahmis 4 anni fa
parent
commit
c846663295
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. 0 5
      packages/slackbot-proxy/src/controllers/slack.ts

+ 0 - 5
packages/slackbot-proxy/src/controllers/slack.ts

@@ -110,9 +110,6 @@ export class SlackCtrl {
       return 'No text.';
       return 'No text.';
     }
     }
 
 
-    console.log('113');
-
-
     const growiCommand = parseSlashCommand(body);
     const growiCommand = parseSlashCommand(body);
 
 
     // register
     // register
@@ -184,7 +181,6 @@ export class SlackCtrl {
     let isCommandPermitted = false;
     let isCommandPermitted = false;
 
 
     if (relationsForSingleUse.length > 0) {
     if (relationsForSingleUse.length > 0) {
-      console.log('relationsForSingleUser.length');
       isCommandPermitted = true;
       isCommandPermitted = true;
       body.growiUrisForSingleUse = relationsForSingleUse.map(v => v.growiUri);
       body.growiUrisForSingleUse = relationsForSingleUse.map(v => v.growiUri);
       return this.selectGrowiService.process(growiCommand, authorizeResult, body);
       return this.selectGrowiService.process(growiCommand, authorizeResult, body);
@@ -207,7 +203,6 @@ export class SlackCtrl {
     }
     }
 
 
     if (!isCommandPermitted) {
     if (!isCommandPermitted) {
-      console.log('210');
       const botToken = relations[0].installation?.data.bot?.token;
       const botToken = relations[0].installation?.data.bot?.token;
 
 
       // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
       // eslint-disable-next-line @typescript-eslint/no-non-null-assertion