Răsfoiți Sursa

add 'channels:join' scope

Yuki Takei 4 ani în urmă
părinte
comite
700d63f7a9
1 a modificat fișierele cu 10 adăugiri și 1 ștergeri
  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',
+];