fixed spaceapi
This commit is contained in:
parent
3591c14c56
commit
f639247018
|
@ -86,8 +86,8 @@ ctdoapi.on('done', function (answer) {
|
|||
simpleanswer.count = answer.count;
|
||||
simpleanswer.names = answer.names;
|
||||
|
||||
spaceanswer.sensors.people_now_present.value = answer.count;
|
||||
spaceanswer.sensors.people_now_present.value = answer.names;
|
||||
spaceanswer.sensors.people_now_present[0].value = answer.count;
|
||||
spaceanswer.sensors.people_now_present[0].names = answer.names;
|
||||
|
||||
if (usercountanswer.datapoints.length > 20) {
|
||||
usercountanswer.datapoints.shift();
|
||||
|
|
Loading…
Reference in New Issue