Add chat public scope to slack scopes (#2564)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
		
							parent
							
								
									26c0f82edf
								
							
						
					
					
						commit
						18d41b52a2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -4,7 +4,7 @@ import { stringify } from "querystring"; | |||
| import prisma from "@calcom/prisma"; | ||||
| 
 | ||||
| const client_id = process.env.SLACK_CLIENT_ID; | ||||
| const scopes = ["commands", "users:read", "users:read.email"]; | ||||
| const scopes = ["commands", "users:read", "users:read.email","chat:write.public"]; | ||||
| 
 | ||||
| export default async function handler(req: NextApiRequest, res: NextApiResponse) { | ||||
|   if (!req.session?.user?.id) { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 sean-brydon
						sean-brydon