Make default channel #welcome

This commit is contained in:
Matthew Stanciu 2020-08-31 15:49:43 -04:00 committed by GitHub
parent 4d16291793
commit d71fa9be47

View file

@ -62,7 +62,7 @@ export default async (req, res) => {
`token=${process.env.SLACK_LEGACY_TOKEN}`,
`real_name=${data.name}`,
'restricted=true',
`channels=C015MKW1A3D`,
`channels=C75M7C0SY`,
'resend=true'
].join('&')
const url = `https://slack.com/api/users.admin.invite?${params}`