refs #5918 fix(workerTimeControl): update(workerTimeControl
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2023-10-04 12:31:46 +02:00
parent df6d10e514
commit f8a510b330
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ module.exports = Self => {
if (args.state == 'SENDED') { if (args.state == 'SENDED') {
await workerTimeControlMail.updateAttributes({ await workerTimeControlMail.updateAttributes({
sendedCounter: workerTimeControlMail.sendedCounter + 1 sendedCounter: workerTimeControlMail.sendedCounter ? workerTimeControlMail.sendedCounter + 1 : 1
}, myOptions); }, myOptions);
} }
}; };