Browse Source

Update growi-to-slack.ts

itizawa 4 years ago
parent
commit
5692e8b7f3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      packages/slackbot-proxy/src/controllers/growi-to-slack.ts

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

@@ -104,8 +104,6 @@ export class GrowiToSlackCtrl {
     }
     }
 
 
     const tokenGtoP = tokenGtoPs[0];
     const tokenGtoP = tokenGtoPs[0];
-
-    // retrieve Relation with Installation
     const relation = await this.relationRepository.update({ tokenGtoP }, { supportedCommandsForBroadcastUse, supportedCommandsForSingleUse });
     const relation = await this.relationRepository.update({ tokenGtoP }, { supportedCommandsForBroadcastUse, supportedCommandsForSingleUse });
 
 
     return res.send({ relation });
     return res.send({ relation });