diff --git a/server.js b/server.js index 1e6f768..303f725 100644 --- a/server.js +++ b/server.js @@ -135,6 +135,7 @@ app.get('/:loc', function(req, res) { "select status, published_at " + "from alerts " + "where status in ('Open', 'Closed') " + + "and coreid = '300029000347343339373536' " + "order by published_at desc " + "limit 2" client.query(devIndexQry, function(err, result) { @@ -178,6 +179,7 @@ app.get('/:loc/status', function(req, res) { "select origjson " + "from alerts " + "where status in ('Open', 'Closed') " + + "and coreid = '300029000347343339373536' " + "order by published_at desc " + "limit 1" client.query(mostRecentStatusQry, function(err, result) {