Merge pull request #3 from fleetside72/dev

change message on list route
This commit is contained in:
fleetside72 2019-03-28 09:43:26 -04:00 committed by GitHub
commit b9b2d13bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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