소스 검색

Merge pull request #3717 from weseek/feat/slack-api-proxy

Feat/slack api proxy
Yuki Takei 5 년 전
부모
커밋
43e97677dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/slackbot-proxy/src/middlewares/authorizer.ts

+ 1 - 1
packages/slackbot-proxy/src/middlewares/authorizer.ts

@@ -30,7 +30,7 @@ export class AuthorizeCommandMiddleware implements IMiddleware {
 
     // extract id from body
     const teamId = body.team_id;
-    const enterpriseId = body.enterprize_id;
+    const enterpriseId = body.enterprise_id;
     const isEnterpriseInstall = body.is_enterprise_install === 'true';
 
     if (teamId == null && enterpriseId == null) {