Fixing Scope Name [Slack] (#2641)
parent
d1082e55a4
commit
f274c0bde3
|
@ -4,7 +4,7 @@ import { stringify } from "querystring";
|
||||||
import prisma from "@calcom/prisma";
|
import prisma from "@calcom/prisma";
|
||||||
|
|
||||||
const client_id = process.env.SLACK_CLIENT_ID;
|
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) {
|
export default async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||||
if (!req.session?.user?.id) {
|
if (!req.session?.user?.id) {
|
||||||
|
|
Loading…
Reference in New Issue