HOTFIX: Alterado condição de status para poder sincronizar como SNOW.

This commit is contained in:
Gabriel Amancio 2026-03-11 08:21:38 -03:00
parent b2cbeb66e5
commit b4a7e6c366

View File

@ -187,7 +187,7 @@ const processStatusAndClosureController = async () => {
}
}
// Passa o bastão de volta para o SN se a ação não for de finalização
if (glpiCurrentStatus < 5) {
if (glpiCurrentStatus <= 4) {
await TicketSyncModel.updateStatusAndSourceLast(ticket.sn_ticket_id, 'synced', 'synced', 'SNOW');
}
} else {