HOTFIX: Resolvido bug que impedia criação de ticket

This commit is contained in:
Rafael Alves Lopes 2026-01-06 17:57:36 -03:00
parent 89426f4371
commit 3d08bf678d
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ async function saveHubGlpi(tickets) {
logInfo('[MUNDIALE] Inserindo chamados no HubGlpi')
await repository.insertTicketsHubGlpi(tickets)
logInfo('[MUNDIALE] Inserindo dado de sincronia dos chamados')
await repository.insertSyncDataByIds(tickets.map(t => t.id_atendimentox)
await repository.insertSyncDataByIds(tickets.map(t => t.id_atendimento)
)
}

View File

@ -41,7 +41,7 @@ async function syncTicketsUseCase() {
await mundialeService.saveHubGlpi(mundiale)
await implantacaoService.saveHubGlpi(implantacao)
await cancelamentoService.saveHubGlpi(cancelamento)
await sacService.saveHubGlpi(sac) //TODO
//await sacService.saveHubGlpi(sac) //TODO
await trocaTitularidadeService.saveHubGlpi(trocaTitularidade) //TODO
const allFetchedTickets = [