update history pull to match dev branch
This commit is contained in:
parent
6e4e64b3a4
commit
28ee5dfbb4
9
index.js
9
index.js
@ -282,15 +282,6 @@ server.get('/list_changes', bodyParser.json(), function(req, res) {
|
|||||||
var callback = function(arg) {
|
var callback = function(arg) {
|
||||||
sql = arg;
|
sql = arg;
|
||||||
|
|
||||||
//parse request body into a where clause
|
|
||||||
({ c, w, d } = build_where(req, c, w, d, args));
|
|
||||||
|
|
||||||
|
|
||||||
//if there was no body sent, return with nothing
|
|
||||||
if (c == 1) {
|
|
||||||
res.send("no body was sent");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
console.log(new Date().toISOString() + "-------------------------list changes:------------------------------")
|
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
|
||||||
|
@ -14,7 +14,7 @@ from
|
|||||||
inner join rlarp.osm_pool on
|
inner join rlarp.osm_pool on
|
||||||
id = logid
|
id = logid
|
||||||
WHERE
|
WHERE
|
||||||
where_clause
|
quota_rep_descr = 'replace_user'
|
||||||
AND tag <> 'Initial Build'
|
AND tag <> 'Initial Build'
|
||||||
group BY
|
group BY
|
||||||
ol.doc->>'user'
|
ol.doc->>'user'
|
||||||
|
Loading…
Reference in New Issue
Block a user