Yuki Takei 5 éve
szülő
commit
e00acac42c

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

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