Fix scope (#2625)
parent
4b75bf7cce
commit
75a07f527e
|
@ -1 +1 @@
|
|||
Subproject commit ac4ce5571f91b49c05cb19e71f8c58b5d3f6d131
|
||||
Subproject commit 300d090ebe5772b2b22432931ba1a837b4e5e759
|
|
@ -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"];
|
||||
const scopes = ["commands", "users:read", "users:read.email", "chat:write.public", "chat.write"];
|
||||
|
||||
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
if (!req.session?.user?.id) {
|
||||
|
|
Loading…
Reference in New Issue