FIxed graphs / inverted the tankFull bit!

This commit is contained in:
Senad Uka
2016-04-09 07:11:08 +02:00
parent 974f18e067
commit c947980844
4 changed files with 57 additions and 28 deletions

View File

@@ -4,29 +4,10 @@ if (Meteor.isServer) {
SyncedCron.start();
});
// Global API configuration
var Api = new Restivus({
useDefaultAuth: true,
prettyJson: true
});
// Api.addRoute('sensorData', {
// authRequired: false
// }, {
// post: function() {
// SensorData.insert({
// temperatureValue: parseFloat(this.bodyParams.temperatureValue),
// humidityValue: parseFloat(this.bodyParams.humidityValue),
// tankFull: this.bodyParams.tankFull,
// owner: this.bodyParams.owner,
// created_at: new Date()
// });
// return [];
// }
// });
}