MCPcopy Create free account
hub / github.com/ConnectAI-E/TalkBase / handler

Function handler

pages/api/advice.ts:82–87  ·  view source on GitHub ↗
(req: NextApiRequest, res: NextApiResponse)

Source from the content-addressed store, hash-verified

80};
81
82const handler = async (req: NextApiRequest, res: NextApiResponse) => {
83 const { tsString,lang } = JSON.parse(req.body) as Prop;
84 const result = await getTableAdvice(tsString,lang as string);
85 // console.log(result);
86 res.status(200).send({ result });
87};
88
89export default handler;
90

Callers

nothing calls this directly

Calls 1

getTableAdviceFunction · 0.85

Tested by

no test coverage detected