la creazione dell'annuncio impiega troppo tempo (e le persone cliccavano su "Salva" più volte)...
This commit is contained in:
@@ -478,7 +478,9 @@ router.post('/settable', authenticate, async (req, res) => {
|
||||
}
|
||||
|
||||
if (setnotif) {
|
||||
await SendNotif.createNewNotification(req, res, { groupnameDest, circuitnameDest }, params.table, myrec, typedir, typeid);
|
||||
const myreq = {...req};
|
||||
const myres = {...res};
|
||||
SendNotif.createNewNotification(myreq, myres, { groupnameDest, circuitnameDest }, params.table, myrec, typedir, typeid);
|
||||
}
|
||||
|
||||
if (params.table === 'circuits') {
|
||||
|
||||
Reference in New Issue
Block a user