diff --git a/pages/api/join.js b/pages/api/join.js index 75ba8d34..1d8fe7ed 100644 --- a/pages/api/join.js +++ b/pages/api/join.js @@ -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))