ver 1.0.19

This commit is contained in:
Surya Paolo
2023-11-03 12:49:10 +01:00
parent c1a9a9a555
commit 7f1bd15bcf
8 changed files with 23 additions and 10 deletions

View File

@@ -614,7 +614,7 @@ router.post('/gettable', authenticate, (req, res) => {
const params = req.body;
let idapp = req.user ? req.user.idapp : params.idapp;
const mytable = globalTables.getTableByTableName(params.table);
// console.log('mytable', mytable);
//console.log('mytable', mytable);
if (!mytable) {
console.log(`Table ${params.table} not found`);
return res.status(400).send({});
@@ -628,6 +628,7 @@ router.post('/gettable', authenticate, (req, res) => {
return mytable.executeQueryTable(idapp, params, req.user).then(ris => {
// console.log('ris=', ris);
return res.send(ris);
}).catch((e) => {