Yuki Takei %!s(int64=5) %!d(string=hai) anos
pai
achega
e00acac42c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {