refs #5918 fix(workerTimeControl): update(workerTimeControl
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
df6d10e514
commit
f8a510b330
|
@ -72,7 +72,7 @@ module.exports = Self => {
|
|||
|
||||
if (args.state == 'SENDED') {
|
||||
await workerTimeControlMail.updateAttributes({
|
||||
sendedCounter: workerTimeControlMail.sendedCounter + 1
|
||||
sendedCounter: workerTimeControlMail.sendedCounter ? workerTimeControlMail.sendedCounter + 1 : 1
|
||||
}, myOptions);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue