fix: refs #7569 refs#8188 add IfNotExists

This commit is contained in:
Sergio De la torre 2024-12-12 20:33:00 +01:00
parent 31a6db5da0
commit 2c672951c6
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ module.exports = Self => {
ticket: ticket,
fullUrl: fullUrl,
ticketsToMail: ticketsToMail,
}, {escape: false});
});
await Self.app.models.Mail.create({
receiver: sendTo,