blah
This commit is contained in:
parent
37e364a0e4
commit
2847f7ea68
@ -129,7 +129,8 @@ router.post('/', function (req, res, next) {
|
|||||||
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;
|
logger.debug('We have data');
|
||||||
|
/* var data = t.data;
|
||||||
dataJSON = JSON.parse(data);
|
dataJSON = JSON.parse(data);
|
||||||
if(dataJSON.hasOwnProperty('temp')) {
|
if(dataJSON.hasOwnProperty('temp')) {
|
||||||
|
|
||||||
@ -137,7 +138,7 @@ router.post('/', function (req, res, next) {
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
logger.error('No temp data!');
|
logger.error('No temp data!');
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user