modified to use events, hopefully will fix the crashing particle
This commit is contained in:
parent
b41f2ac6ed
commit
d36e9e14cc
@ -128,10 +128,10 @@ router.post('/', function (req, res, next) {
|
|||||||
logger.debug(t);
|
logger.debug(t);
|
||||||
console.log(typeof t);
|
console.log(typeof t);
|
||||||
//t = JSON.parse(t);
|
//t = JSON.parse(t);
|
||||||
if(t.hasOwnProperty(data)){
|
if(t.hasOwnProperty('data')){
|
||||||
var data = t.data;
|
var data = t.data;
|
||||||
dataJSON = JSON.parse(data);
|
dataJSON = JSON.parse(data);
|
||||||
if(t.hasOwnProperty(temp)) {
|
if(t.hasOwnProperty('temp')) {
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user