From d880ca24277b1707934fb4c2f06369c0fc795bd8 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Fri, 27 Dec 2019 09:02:37 +0100 Subject: [PATCH] changed param --- modules/ticket/back/methods/ticket/setDeleted.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ticket/back/methods/ticket/setDeleted.js b/modules/ticket/back/methods/ticket/setDeleted.js index 6080992aa..fb72c7dbc 100644 --- a/modules/ticket/back/methods/ticket/setDeleted.js +++ b/modules/ticket/back/methods/ticket/setDeleted.js @@ -94,7 +94,7 @@ module.exports = Self => { id: id, url: `${origin}/#!/ticket/${id}/summary` }); - await models.Chat.sendMessage(ctx, `@joan`, message); + await models.Chat.sendMessage(ctx, `@${salesPersonUser}`, message); } return ticket.updateAttribute('isDeleted', true);