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,