From f9ffa37b730e1f95da960cb50b7abd1fc226d94c Mon Sep 17 00:00:00 2001 From: adriano Date: Fri, 11 Mar 2022 00:00:59 -0300 Subject: [PATCH] =?UTF-8?q?Codifica=C3=A7=C3=A3o=20para=20o=20usu=C3=A1rio?= =?UTF-8?q?=20poder=20selecionar=20hora=20de=20envio=20de=20lembrete=20de?= =?UTF-8?q?=20agedamento=20para=20cliente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/controllers/TicketController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/controllers/TicketController.ts b/backend/src/controllers/TicketController.ts index 104972f..3b05732 100644 --- a/backend/src/controllers/TicketController.ts +++ b/backend/src/controllers/TicketController.ts @@ -142,7 +142,7 @@ export const update = async ( req: Request, res: Response ): Promise = // agendamento const scheduleData = JSON.parse(schedulingNotifyData) - if( scheduleData.scheduleId != '1'){ + if( scheduleData.scheduleId === '2'){ const schedulingNotifyCreate = await CreateSchedulingNotifyService( { ticketId: scheduleData.ticketId,