prove to me this is working

pull/10/head
sigonasr2, Sig, Sigo 3 years ago
parent dcd6e2c31f
commit fe0fef968a
  1. 2
      server/app.js

@ -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…
Cancel
Save