Ateração do metodo do restore passando o parametro true para salvar a nova sessão

pull/20/head
adriano 2022-08-31 11:50:14 -03:00
parent 118fa7398d
commit 8b370e01f6
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ const restart = async (req: Request, res: Response): Promise<Response> => {
const whatsapp = await ShowWhatsAppService(whatsappId); const whatsapp = await ShowWhatsAppService(whatsappId);
// restartWhatsSession(whatsapp, true) restartWhatsSession(whatsapp, true)
restartWhatsSession(whatsapp) //restartWhatsSession(whatsapp)
return res.status(200).json({ message: "Starting session." }); return res.status(200).json({ message: "Starting session." });
}; };