Hard code coreid to device don plans to use at rec center.
This commit is contained in:
parent
32f1d28eca
commit
840be38dcf
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user