prove to me this is working
This commit is contained in:
parent
dcd6e2c31f
commit
fe0fef968a
@ -177,7 +177,7 @@ function CreateDynamicEndpoints() {
|
|||||||
db2.query('select * from '+endpoint.endpoint+" order by id desc")
|
db2.query('select * from '+endpoint.endpoint+" order by id desc")
|
||||||
.then((data)=>{
|
.then((data)=>{
|
||||||
res.status(200).json({fields:data.fields,rows:data.rows})
|
res.status(200).json({fields:data.fields,rows:data.rows})
|
||||||
co
|
console.log({fields:data.fields,rows:data.rows})
|
||||||
})
|
})
|
||||||
.catch((err)=>{
|
.catch((err)=>{
|
||||||
res.status(500).send(err.message)
|
res.status(500).send(err.message)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user