Merge branch 'dev' into 4217-worker_time-control_tests
gitea/salix/pipeline/head This commit is unstable Details

This commit is contained in:
Carlos Jimenez Ruiz 2022-06-28 12:21:28 +00:00
commit 06eddd8e47
1 changed files with 29 additions and 29 deletions

View File

@ -149,8 +149,9 @@ module.exports = {
});
}
},
};
async invalidEmail(ticket) {
async function invalidEmail(ticket) {
await db.rawSql(`UPDATE client SET email = NULL WHERE id = ?`, [
ticket.clientFk
]);
@ -177,5 +178,4 @@ module.exports = {
subject: 'No se ha podido enviar el albarán',
html: body
});
}
};
}