go on Conto Comunitario
This commit is contained in:
@@ -469,8 +469,13 @@ router.post('/settable', authenticate, async (req, res) => {
|
||||
return res.send({ rec: myrec, ris });
|
||||
});
|
||||
} else if (params.table === shared_consts.TAB_MYCIRCUITS && isnewrec) {
|
||||
// nuovo Record:
|
||||
// aggiungi il creatore al Circuito stesso
|
||||
// nuovo Circuito:
|
||||
await User.setCircuitCmd(mydata.idapp, req.user.username, myrec.name,
|
||||
shared_consts.CIRCUITCMD.CREATE, true, req.user.username, extrarec).then((ris) => {
|
||||
return res.send({ rec: myrec, ris });
|
||||
});
|
||||
|
||||
// aggiungi il creatore al Circuito stesso
|
||||
return await User.setCircuitCmd(mydata.idapp, req.user.username, myrec.name,
|
||||
shared_consts.CIRCUITCMD.SET, true, req.user.username, extrarec).then((ris) => {
|
||||
return res.send({ rec: myrec, ris });
|
||||
|
||||
Reference in New Issue
Block a user