refs #6755 fix method
This commit is contained in:
parent
cac388f986
commit
16fc446b85
|
@ -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