Changed scope
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-06-28 11:58:01 +02:00
parent 5714eb80f2
commit ae8aae6c20
1 changed files with 29 additions and 29 deletions

View File

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