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