4856-worker.time-control_2 #1418

Merged
joan merged 12 commits from 4856-worker.time-control_2 into dev 2023-04-11 07:06:41 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8a297469d6 - Show all commits

View File

@ -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
Outdated
Review

No está en la misma transacción

No está en la misma transacción
ctx.args = {
recipient: worker.email,
year: yearNumber,