4856-worker.time-control_2 #1418
|
@ -41,7 +41,7 @@ module.exports = Self => {
|
|||
}, myOptions);
|
||||
|
||||
if (workerTimeControlMail && workerTimeControlMail.state != 'SENDED') {
|
||||
const worker = await models.EmailUser.findById(workerId);
|
||||
const worker = await models.EmailUser.findById(workerId, null, myOptions);
|
||||
vicent marked this conversation as resolved
Outdated
|
||||
ctx.args = {
|
||||
recipient: worker.email,
|
||||
year: yearNumber,
|
||||
|
|
Loading…
Reference in New Issue
No está en la misma transacción