- Tolto Zoom e Sogni come requisiti

- Corretto Email con HTML che si visualizzavano tutti i caratteri HTML...
This commit is contained in:
Paolo Arena
2020-10-17 22:11:29 +02:00
parent 0ac4a16715
commit adacf92585
4 changed files with 57 additions and 3 deletions

View File

@@ -186,7 +186,7 @@ function getTableByTableName(tablename) {
mytable = User;
else if (tablename === 'tessitura')
mytable = Tessitura;
// else if (tablename === 'extralist')
// else if (tablename === 'extralist')
// mytable = ExtraList;
else if (tablename === 'bookings')
mytable = Booking;
@@ -987,6 +987,8 @@ router.delete('/delrec/:table/:id', authenticate, async (req, res) => {
tools.mylog('DELETED ', rec._id);
return true;
}).catch((e) => {
console.log(e.message);
res.status(400).send();
@@ -996,7 +998,7 @@ router.delete('/delrec/:table/:id', authenticate, async (req, res) => {
if (cancellato) {
// Do extra things after deleted
ris = await actions.doOtherThingsAfterDeleted(tablename, myrec, notifBot, req);
let ris2 = await actions.doOtherlasThingsAfterDeleted(tablename, myrec, notifBot, req);
if (!!ris) {
return res.send({ code: server_constants.RIS_CODE_OK, msg: '' });
}