7152-devToTest_2414 #2228
|
@ -29,7 +29,7 @@ module.exports = Self => {
|
||||||
if (typeof options == 'object')
|
if (typeof options == 'object')
|
||||||
Object.assign(myOptions, options);
|
Object.assign(myOptions, options);
|
||||||
|
|
||||||
const ticket = await models.Ticket.findById(id, {
|
const ticket = await models.TicketLog.findById(id, {
|
||||||
fields: ['originFk', 'creationDate', 'newInstance']
|
fields: ['originFk', 'creationDate', 'newInstance']
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue