Commit 3d397750 authored by Peter Lundin's avatar Peter Lundin
Browse files

Some functions work

parent ff6eec68
......@@ -153,7 +153,7 @@ router.post('/list/:level', (req, res, next) => {
var sql = "select * from cmdb.organisation where parent_organisation_id = $1;";
var level = [req.params['level']];
console.log(level[0]);
console.log(JSON.stringify(level));
client.query(sql, level, function(err, result){
done();
if (err){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment