modified to use events, hopefully will fix the crashing particle

This commit is contained in:
Martin Donnelly 2016-02-12 15:57:29 +00:00
parent d36e9e14cc
commit 37e364a0e4

View File

@ -131,7 +131,7 @@ router.post('/', function (req, res, next) {
if(t.hasOwnProperty('data')){
var data = t.data;
dataJSON = JSON.parse(data);
if(t.hasOwnProperty('temp')) {
if(dataJSON.hasOwnProperty('temp')) {
}
else