(req: NextApiRequest, res: NextApiResponse)
| 80 | }; |
| 81 | |
| 82 | const 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 | |
| 89 | export default handler; |
| 90 |
nothing calls this directly
no test coverage detected