From f589b2938783e1f26be450ed6440d2b6a94eb163 Mon Sep 17 00:00:00 2001 From: adriano Date: Tue, 7 Feb 2023 14:14:14 -0300 Subject: [PATCH] =?UTF-8?q?Inicio=20da=20codifica=C3=A7=C3=A3o=20para=20id?= =?UTF-8?q?entificar=20leitura=20de=20numero=20errado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/controllers/WbotMonitorController.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/backend/src/controllers/WbotMonitorController.ts b/backend/src/controllers/WbotMonitorController.ts index f63be71..25ee67c 100644 --- a/backend/src/controllers/WbotMonitorController.ts +++ b/backend/src/controllers/WbotMonitorController.ts @@ -53,6 +53,25 @@ export const wbotMonitorQrcodeRemote = async (req: Request, res: Response): Prom +// export const wbotMonitorNumberRead = async (req: Request, res: Response): Promise => { + +// const { whatsappId } = req.body + +// console.log('-----------> whatsappId: ', req.body['whatsappId']) + +// let whatsapp = await ShowWhatsAppService(whatsappId) + +// const io = getIO(); +// io.emit("whatsappSession", { +// action: "update", +// session: whatsapp +// }); + + +// return res.status(200).json({ "message": "Ok" }); +// }; + + // export const DeleteWhatsAppMessage = async (req: Request, res: Response): Promise => {