Fixing Scope Name [Slack] (#2641)

pull/2674/head
sean-brydon 2022-04-28 13:42:37 +01:00 committed by Omar López
parent c2d52bcfd2
commit 6999ab09b6
1 changed files with 1 additions and 1 deletions

View File

@ -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", "chat:write.public", "chat.write"];
const scopes = ["commands", "users:read", "users:read.email", "chat:write", "chat:write.public"];
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
if (!req.session?.user?.id) {