From 34d3aac4b0b61583cf66d9c8c58981d799d67e08 Mon Sep 17 00:00:00 2001 From: sean-brydon <55134778+sean-brydon@users.noreply.github.com> Date: Wed, 27 Apr 2022 11:57:39 +0100 Subject: [PATCH] Fix scope (#2625) --- apps/website | 2 +- packages/app-store/slackmessaging/api/add.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/website b/apps/website index ac4ce5571f..300d090ebe 160000 --- a/apps/website +++ b/apps/website @@ -1 +1 @@ -Subproject commit ac4ce5571f91b49c05cb19e71f8c58b5d3f6d131 +Subproject commit 300d090ebe5772b2b22432931ba1a837b4e5e759 diff --git a/packages/app-store/slackmessaging/api/add.ts b/packages/app-store/slackmessaging/api/add.ts index c8afab68b6..7fe78af6d8 100644 --- a/packages/app-store/slackmessaging/api/add.ts +++ b/packages/app-store/slackmessaging/api/add.ts @@ -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) {