kaori 5 سال پیش
والد
کامیت
c62a232d50
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      packages/slackbot-proxy/src/controllers/slack.ts

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

@@ -117,13 +117,10 @@ export class SlackCtrl {
   }
   }
 
 
   @Post('/interactions')
   @Post('/interactions')
-  // TODO: using new middleware (5789 blocking)
-  // ~~@UseBefore(AuthorizeMiddleware)~~
   @UseBefore(AuthorizeInteractionMiddleware)
   @UseBefore(AuthorizeInteractionMiddleware)
   async handleInteraction(@Req() req: AuthedReq, @Res() res: Res): Promise<void|string> {
   async handleInteraction(@Req() req: AuthedReq, @Res() res: Res): Promise<void|string> {
     logger.info('receive interaction', req.body);
     logger.info('receive interaction', req.body);
     logger.info('receive interaction', req.authorizeResult);
     logger.info('receive interaction', req.authorizeResult);
-    // return;
 
 
     const { body, authorizeResult } = req;
     const { body, authorizeResult } = req;
     const installationId = authorizeResult.enterpriseId || authorizeResult.teamId;
     const installationId = authorizeResult.enterpriseId || authorizeResult.teamId;