modified to use events, hopefully will fix the crashing particle
This commit is contained in:
parent
f8a0eadfda
commit
60c0f8c153
@ -131,7 +131,9 @@ router.post('/', function (req, res, next) {
|
||||
if(t.hasOwnProperty('data')){
|
||||
logger.debug('We have data');
|
||||
var data = t.data;
|
||||
logger.debug(typeof data);
|
||||
if (data.hasOwnProperty(temp)) {
|
||||
logger.log('We have temp! ' + data.temp);
|
||||
}
|
||||
|
||||
//dataJSON = JSON.parse(data);
|
||||
//logger.debug(dataJSON);
|
||||
|
Loading…
Reference in New Issue
Block a user