Merge pull request 'fix: setDeleted' (!2947) from hotfix7960-setDeleted into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #2947
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Carlos Satorres 2024-09-11 06:51:54 +00:00
commit 6c8c617837
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ module.exports = Self => {
id: id, id: id,
url: `${url}ticket/${id}/summary` url: `${url}ticket/${id}/summary`
}); });
await models.Chat.send(ctx, `@${salesPersonUser.name}`, message); await models.Chat.sendCheckingPresence(ctx, salesPersonUser.id, message);
} }
const updatedTicket = await ticket.updateAttribute('isDeleted', true, myOptions); const updatedTicket = await ticket.updateAttribute('isDeleted', true, myOptions);