5918-worker.time-control_resend #1685
|
@ -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