refs #6755 fix method

This commit is contained in:
Carlos Satorres 2024-03-05 10:46:15 +01:00
parent cac388f986
commit 16fc446b85
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ module.exports = Self => {
if (typeof options == 'object')
Object.assign(myOptions, options);
const ticket = await models.Ticket.findById(id, {
const ticket = await models.TicketLog.findById(id, {
fields: ['originFk', 'creationDate', 'newInstance']
}, myOptions);