diff --git a/next/api/src/service/search-ticket.ts b/next/api/src/service/search-ticket.ts index c1036a05f..fdcf9baf4 100644 --- a/next/api/src/service/search-ticket.ts +++ b/next/api/src/service/search-ticket.ts @@ -124,10 +124,6 @@ export class SearchTicketService { this.createSearchDocument(ticket, fieldValueByTicketId[ticket.id]) ); - tickets.forEach((ticket) => { - console.log('syncTickets', ticket.id, ticket.status, ticket.updatedAt) - }) - await this.esClient.bulk({ body: docs.flatMap((doc) => [ { diff --git a/next/api/src/ticket/TicketUpdater.ts b/next/api/src/ticket/TicketUpdater.ts index 0e00b02eb..e0490add2 100644 --- a/next/api/src/ticket/TicketUpdater.ts +++ b/next/api/src/ticket/TicketUpdater.ts @@ -303,14 +303,12 @@ export class TicketUpdater { this.data.ACL = this.getCurrentACL(); } - console.log("updateTicket", this.ticket.id, this.ticket.status, JSON.stringify(this.data)) const ticket = await this.ticket.update( this.data, this.getModifyOptions(operator, options?.useMasterKey) ); this.assignRelatedInstance(ticket); - console.log("addSyncJob", ticket.id) await searchTicketService.addSyncJob([ticket.id]); this.saveOpsLogs(operator).catch((error) => {