瀏覽代碼

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) {