Browse Source

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

Feat/slack api proxy
Yuki Takei 5 năm trước cách đây
mục cha
commit
43e97677dc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {