소스 검색

add 'channels:join' scope

Yuki Takei 4 년 전
부모
커밋
700d63f7a9
1개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 10 1
      packages/slack/src/utils/required-scopes.ts

+ 10 - 1
packages/slack/src/utils/required-scopes.ts

@@ -1 +1,10 @@
-export const requiredScopes: string[] = ['commands', 'team:read', 'chat:write', 'channels:history', 'groups:history', 'im:history', 'mpim:history'];
+export const requiredScopes: string[] = [
+  'commands',
+  'team:read',
+  'chat:write',
+  'channels:join',
+  'channels:history',
+  'groups:history',
+  'im:history',
+  'mpim:history',
+];