Merge pull request #3 from fleetside72/dev
change message on list route
This commit is contained in:
commit
b9b2d13bea
2
index.js
2
index.js
@ -151,7 +151,7 @@ server.get('/list_changes', bodyParser.json(), function (req, res) {
|
|||||||
var callback = function(arg){
|
var callback = function(arg){
|
||||||
sql = arg;
|
sql = arg;
|
||||||
|
|
||||||
console.log(new Date().toISOString() +"-------------------------get scenario:------------------------------")
|
console.log(new Date().toISOString() +"-------------------------list changes:------------------------------")
|
||||||
console.log(req.body);
|
console.log(req.body);
|
||||||
//parse the where clause into the main sql statement
|
//parse the where clause into the main sql statement
|
||||||
sql = sql.replace(new RegExp("replace_user",'g'),JSON.stringify(req.body))
|
sql = sql.replace(new RegExp("replace_user",'g'),JSON.stringify(req.body))
|
||||||
|
Loading…
Reference in New Issue
Block a user