Codificação para o usuário poder selecionar hora de envio de lembrete de agedamento para cliente

pull/1/head
adriano 2022-03-11 00:00:59 -03:00
parent d0be6729fe
commit f9ffa37b73
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ export const update = async ( req: Request, res: Response ): Promise<Response> =
// agendamento // agendamento
const scheduleData = JSON.parse(schedulingNotifyData) const scheduleData = JSON.parse(schedulingNotifyData)
if( scheduleData.scheduleId != '1'){ if( scheduleData.scheduleId === '2'){
const schedulingNotifyCreate = await CreateSchedulingNotifyService( const schedulingNotifyCreate = await CreateSchedulingNotifyService(
{ {
ticketId: scheduleData.ticketId, ticketId: scheduleData.ticketId,