1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

test again 1234

This commit is contained in:
2015-08-31 20:21:54 -05:00
parent eb8462fce4
commit 51be1ec24b
2 changed files with 3 additions and 42 deletions

View File

@@ -157,11 +157,9 @@ function timeValidator(time){
function renderIndex(res, json){
temperature.findOne().sort('-updated').exec(function(err,query) {
console.log(query);
console.log(query.temperature);
res.render('index',{validation : json, query : query});
temperature.findOne().sort('-updated').exec(function(err,info) {
res.render('index',{validation : json, query : info});
});
}