(req: NextApiRequest, res: NextApiResponse)
| 2 | import { newSlackIntegration } from 'services/accounts/slack'; |
| 3 | |
| 4 | async function handler(req: NextApiRequest, res: NextApiResponse) { |
| 5 | const url = await newSlackIntegration({ query: req.query }); |
| 6 | res.redirect(url); |
| 7 | } |
| 8 | |
| 9 | export default handler; |
nothing calls this directly
no test coverage detected