JNP3 16/17

Dependencies:   mbed nRF24L01P

Revision:
26:52e8eee05dc6
Parent:
25:4fd33808f095
Child:
62:eb9a2599684c
diff -r 4fd33808f095 -r 52e8eee05dc6 frontend/kubus.js
--- a/frontend/kubus.js	Mon Jan 09 19:52:29 2017 +0100
+++ b/frontend/kubus.js	Mon Jan 09 20:59:41 2017 +0100
@@ -210,7 +210,7 @@
             return response.json();
         })
         .then((json) => {
-            sensorCharts.addSensorData(json);
+            sensorCharts.addSensorData(json["sensors"]);
         });
 
     setTimeout(update, UPDATE_INTERVAL_SECONDS * 1000);