MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / handler

Function handler

apps/web/pages/api/oauth.ts:4–7  ·  view source on GitHub ↗
(req: NextApiRequest, res: NextApiResponse)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

newSlackIntegrationFunction · 0.90

Tested by

no test coverage detected