diff --git a/modules/ticket/back/methods/ticket/merge.js b/modules/ticket/back/methods/ticket/merge.js index 306993814..879136c46 100644 --- a/modules/ticket/back/methods/ticket/merge.js +++ b/modules/ticket/back/methods/ticket/merge.js @@ -51,7 +51,7 @@ module.exports = Self => { if (!ticket.id || !ticket.ticketFuture) continue; await models.Sale.updateAll({ ticketFk: ticket.id }, { ticketFk: ticket.ticketFuture }, myOptions); await models.Ticket.setDeleted(ctx, ticket.id, myOptions); - await models.Chat.sendCheckingPresence(ctx, 1, message); + await models.Chat.sendCheckingPresence(ctx, ticket.workerFk, message); }; if (tx) { await tx.commit();