change message on list route

This commit is contained in:
Paul Trowbridge 2019-03-28 09:32:09 -04:00
parent 2483efdfc7
commit 731c811fc3

View File

@ -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))