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