Yuki Takei 5 years ago
parent
commit
e00acac42c
1 changed files with 1 additions and 1 deletions
  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) {