Revert "break form"

This reverts commit 59c4a5fed6.
This commit is contained in:
Sam Poder 2021-06-07 18:31:40 +08:00
parent f05d90de1d
commit 2145f5eb4e

View file

@ -63,7 +63,7 @@ export default async (req, res) => {
`channels=C74HZS5A5`,
'resend=true'
].join('&')
const url = ``
const url = `https://slack.com/api/users.admin.invite?${params}`
await fetch(url, { method: 'POST' })
.then(r => r.json())
.then(r => console.log('Slack response', r))