mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-11 18:32:50 +00:00
test again 1234
This commit is contained in:
@@ -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});
|
||||
});
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user